Coverage Report

Created: 2025-06-13 06:09

/src/uWebSockets/src/MoveOnlyFunction.h
Line
Count
Source (jump to first uncovered line)
1
/*
2
MIT License
3
4
Copyright (c) 2020 Oleg Fatkhiev
5
6
Permission is hereby granted, free of charge, to any person obtaining a copy
7
of this software and associated documentation files (the "Software"), to deal
8
in the Software without restriction, including without limitation the rights
9
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
copies of the Software, and to permit persons to whom the Software is
11
furnished to do so, subject to the following conditions:
12
13
The above copyright notice and this permission notice shall be included in all
14
copies or substantial portions of the Software.
15
16
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
SOFTWARE.
23
*/
24
25
/* Sources fetched from https://github.com/ofats/any_invocable on 2021-02-19. */
26
27
#ifndef _ANY_INVOKABLE_H_
28
#define _ANY_INVOKABLE_H_
29
30
#include <functional>
31
32
#if !defined(__cpp_lib_move_only_function) || __cpp_lib_move_only_function < 202110L
33
34
#include <memory>
35
#include <type_traits>
36
37
// clang-format off
38
/*
39
namespace std {
40
  template<class Sig> class any_invocable; // never defined
41
42
  template<class R, class... ArgTypes>
43
  class any_invocable<R(ArgTypes...) cv ref noexcept(noex)> {
44
  public:
45
    using result_type = R;
46
47
    // SECTION.3, construct/copy/destroy
48
    any_invocable() noexcept;
49
    any_invocable(nullptr_t) noexcept;
50
    any_invocable(any_invocable&&) noexcept;
51
    template<class F> any_invocable(F&&);
52
53
    template<class T, class... Args>
54
      explicit any_invocable(in_place_type_t<T>, Args&&...);
55
    template<class T, class U, class... Args>
56
      explicit any_invocable(in_place_type_t<T>, initializer_list<U>, Args&&...);
57
58
    any_invocable& operator=(any_invocable&&) noexcept;
59
    any_invocable& operator=(nullptr_t) noexcept;
60
    template<class F> any_invocable& operator=(F&&);
61
    template<class F> any_invocable& operator=(reference_wrapper<F>) noexcept;
62
63
    ~any_invocable();
64
65
    // SECTION.4, any_invocable modifiers
66
    void swap(any_invocable&) noexcept;
67
68
    // SECTION.5, any_invocable capacity
69
    explicit operator bool() const noexcept;
70
71
    // SECTION.6, any_invocable invocation
72
    R operator()(ArgTypes...) cv ref noexcept(noex);
73
74
    // SECTION.7, null pointer comparisons
75
    friend bool operator==(const any_invocable&, nullptr_t) noexcept;
76
77
    // SECTION.8, specialized algorithms
78
    friend void swap(any_invocable&, any_invocable&) noexcept;
79
  };
80
}
81
*/
82
// clang-format on
83
84
namespace ofats {
85
86
namespace any_detail {
87
88
using buffer = std::aligned_storage_t<sizeof(void*) * 2, alignof(void*)>;
89
90
template <class T>
91
inline constexpr bool is_small_object_v =
92
    sizeof(T) <= sizeof(buffer) && alignof(buffer) % alignof(T) == 0 &&
93
    std::is_nothrow_move_constructible_v<T>;
94
95
union storage {
96
  void* ptr_ = nullptr;
97
  buffer buf_;
98
};
99
100
enum class action { destroy, move };
101
102
template <class R, class... ArgTypes>
103
struct handler_traits {
104
  template <class Derived>
105
  struct handler_base {
106
1.42M
    static void handle(action act, storage* current, storage* other = nullptr) {
107
1.42M
      switch (act) {
108
1.11M
        case (action::destroy):
109
1.11M
          Derived::destroy(*current);
110
1.11M
          break;
111
314k
        case (action::move):
112
314k
          Derived::move(*current, *other);
113
314k
          break;
114
1.42M
      }
115
1.42M
    }
ofats::any_detail::handler_traits<void*, void*, uWS::HttpRequest*>::handler_base<ofats::any_detail::handler_traits<void*, void*, uWS::HttpRequest*>::small_handler<uWS::HttpContext<false>::init()::{lambda(us_socket_t*, char*, int)#1}::operator()(us_socket_t*, char*, int) const::{lambda(void*, uWS::HttpRequest*)#1}> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::action)
Line
Count
Source
106
468k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
468k
      switch (act) {
108
468k
        case (action::destroy):
109
468k
          Derived::destroy(*current);
110
468k
          break;
111
0
        case (action::move):
112
0
          Derived::move(*current, *other);
113
0
          break;
114
468k
      }
115
468k
    }
ofats::any_detail::handler_traits<void*, void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::handler_base<ofats::any_detail::handler_traits<void*, void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::small_handler<uWS::HttpContext<false>::init()::{lambda(us_socket_t*, char*, int)#1}::operator()(us_socket_t*, char*, int) const::{lambda(void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool)#1}> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::action)
Line
Count
Source
106
468k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
468k
      switch (act) {
108
468k
        case (action::destroy):
109
468k
          Derived::destroy(*current);
110
468k
          break;
111
0
        case (action::move):
112
0
          Derived::move(*current, *other);
113
0
          break;
114
468k
      }
115
468k
    }
Unexecuted instantiation: ofats::any_detail::handler_traits<bool, unsigned long>::handler_base<ofats::any_detail::handler_traits<bool, unsigned long>::small_handler<uWS::HttpResponseData<false>::callOnWritable(unsigned long)::{lambda(unsigned long)#1}> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage)
ofats::any_detail::handler_traits<bool, uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*>::handler_base<ofats::any_detail::handler_traits<bool, uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*>::large_handler<uWS::HttpContext<false>::onHttp(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, ofats::any_invocable<void (uWS::HttpResponse<false>*, uWS::HttpRequest*)>&&, bool)::{lambda(auto:1*)#1}> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage)
Line
Count
Source
106
64.7k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
64.7k
      switch (act) {
108
21.5k
        case (action::destroy):
109
21.5k
          Derived::destroy(*current);
110
21.5k
          break;
111
43.1k
        case (action::move):
112
43.1k
          Derived::move(*current, *other);
113
43.1k
          break;
114
64.7k
      }
115
64.7k
    }
ofats::any_detail::handler_traits<void, uWS::HttpResponse<false>*, uWS::HttpRequest*>::handler_base<ofats::any_detail::handler_traits<void, uWS::HttpResponse<false>*, uWS::HttpRequest*>::small_handler<uWS::TemplatedApp<false>::TemplatedApp(uWS::SocketContextOptions)::{lambda(auto:1*, auto:2*)#1}> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage)
Line
Count
Source
106
21.5k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
21.5k
      switch (act) {
108
7.19k
        case (action::destroy):
109
7.19k
          Derived::destroy(*current);
110
7.19k
          break;
111
14.3k
        case (action::move):
112
14.3k
          Derived::move(*current, *other);
113
14.3k
          break;
114
21.5k
      }
115
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::Loop*>::handler_base<ofats::any_detail::handler_traits<void, uWS::Loop*>::small_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(uWS::Loop*)#1}> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage)
Line
Count
Source
106
14.3k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
14.3k
      switch (act) {
108
7.19k
        case (action::destroy):
109
7.19k
          Derived::destroy(*current);
110
7.19k
          break;
111
7.19k
        case (action::move):
112
7.19k
          Derived::move(*current, *other);
113
7.19k
          break;
114
14.3k
      }
115
14.3k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::Loop*>::handler_base<ofats::any_detail::handler_traits<void, uWS::Loop*>::small_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(uWS::Loop*)#2}> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage)
Line
Count
Source
106
14.3k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
14.3k
      switch (act) {
108
7.19k
        case (action::destroy):
109
7.19k
          Derived::destroy(*current);
110
7.19k
          break;
111
7.19k
        case (action::move):
112
7.19k
          Derived::move(*current, *other);
113
7.19k
          break;
114
14.3k
      }
115
14.3k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void>::handler_base<ofats::any_detail::handler_traits<void>::small_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda()#1}> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage)
Line
Count
Source
106
35.9k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
35.9k
      switch (act) {
108
14.3k
        case (action::destroy):
109
14.3k
          Derived::destroy(*current);
110
14.3k
          break;
111
21.5k
        case (action::move):
112
21.5k
          Derived::move(*current, *other);
113
21.5k
          break;
114
35.9k
      }
115
35.9k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::HttpResponse<false>*, uWS::HttpRequest*>::handler_base<ofats::any_detail::handler_traits<void, uWS::HttpResponse<false>*, uWS::HttpRequest*>::large_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(auto:1*, auto:2*)#1}> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage)
Line
Count
Source
106
43.1k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
43.1k
      switch (act) {
108
14.3k
        case (action::destroy):
109
14.3k
          Derived::destroy(*current);
110
14.3k
          break;
111
28.7k
        case (action::move):
112
28.7k
          Derived::move(*current, *other);
113
28.7k
          break;
114
43.1k
      }
115
43.1k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::handler_base<ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_0> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage*)
Line
Count
Source
106
21.5k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
21.5k
      switch (act) {
108
7.19k
        case (action::destroy):
109
7.19k
          Derived::destroy(*current);
110
7.19k
          break;
111
14.3k
        case (action::move):
112
14.3k
          Derived::move(*current, *other);
113
14.3k
          break;
114
21.5k
      }
115
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::handler_base<ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::small_handler<test()::$_1> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage*)
Line
Count
Source
106
21.5k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
21.5k
      switch (act) {
108
7.19k
        case (action::destroy):
109
7.19k
          Derived::destroy(*current);
110
7.19k
          break;
111
14.3k
        case (action::move):
112
14.3k
          Derived::move(*current, *other);
113
14.3k
          break;
114
21.5k
      }
115
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::handler_base<ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_2> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage*)
Line
Count
Source
106
21.5k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
21.5k
      switch (act) {
108
7.19k
        case (action::destroy):
109
7.19k
          Derived::destroy(*current);
110
7.19k
          break;
111
14.3k
        case (action::move):
112
14.3k
          Derived::move(*current, *other);
113
14.3k
          break;
114
21.5k
      }
115
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::handler_base<ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_3> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage*)
Line
Count
Source
106
21.5k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
21.5k
      switch (act) {
108
7.19k
        case (action::destroy):
109
7.19k
          Derived::destroy(*current);
110
7.19k
          break;
111
14.3k
        case (action::move):
112
14.3k
          Derived::move(*current, *other);
113
14.3k
          break;
114
21.5k
      }
115
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::handler_base<ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_4> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage*)
Line
Count
Source
106
21.5k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
21.5k
      switch (act) {
108
7.19k
        case (action::destroy):
109
7.19k
          Derived::destroy(*current);
110
7.19k
          break;
111
14.3k
        case (action::move):
112
14.3k
          Derived::move(*current, *other);
113
14.3k
          break;
114
21.5k
      }
115
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::handler_base<ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_5> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage*)
Line
Count
Source
106
21.5k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
21.5k
      switch (act) {
108
7.19k
        case (action::destroy):
109
7.19k
          Derived::destroy(*current);
110
7.19k
          break;
111
14.3k
        case (action::move):
112
14.3k
          Derived::move(*current, *other);
113
14.3k
          break;
114
21.5k
      }
115
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::handler_base<ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_6> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage*)
Line
Count
Source
106
21.5k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
21.5k
      switch (act) {
108
7.19k
        case (action::destroy):
109
7.19k
          Derived::destroy(*current);
110
7.19k
          break;
111
14.3k
        case (action::move):
112
14.3k
          Derived::move(*current, *other);
113
14.3k
          break;
114
21.5k
      }
115
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::handler_base<ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::small_handler<test()::$_7> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage*)
Line
Count
Source
106
21.5k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
21.5k
      switch (act) {
108
7.19k
        case (action::destroy):
109
7.19k
          Derived::destroy(*current);
110
7.19k
          break;
111
14.3k
        case (action::move):
112
14.3k
          Derived::move(*current, *other);
113
14.3k
          break;
114
21.5k
      }
115
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::handler_base<ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_8> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage*)
Line
Count
Source
106
21.5k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
21.5k
      switch (act) {
108
7.19k
        case (action::destroy):
109
7.19k
          Derived::destroy(*current);
110
7.19k
          break;
111
14.3k
        case (action::move):
112
14.3k
          Derived::move(*current, *other);
113
14.3k
          break;
114
21.5k
      }
115
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::handler_base<ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_9> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage*)
Line
Count
Source
106
21.5k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
21.5k
      switch (act) {
108
7.19k
        case (action::destroy):
109
7.19k
          Derived::destroy(*current);
110
7.19k
          break;
111
14.3k
        case (action::move):
112
14.3k
          Derived::move(*current, *other);
113
14.3k
          break;
114
21.5k
      }
115
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void>::handler_base<ofats::any_detail::handler_traits<void>::large_handler<test()::$_9::operator()<uWS::WebSocket<false, true, test()::PerSocketData> >(uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >) const::{lambda()#1}> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage)
Line
Count
Source
106
29.1k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
29.1k
      switch (act) {
108
9.77k
        case (action::destroy):
109
9.77k
          Derived::destroy(*current);
110
9.77k
          break;
111
19.4k
        case (action::move):
112
19.4k
          Derived::move(*current, *other);
113
19.4k
          break;
114
29.1k
      }
115
29.1k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::handler_base<ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_10> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage*)
Line
Count
Source
106
21.5k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
21.5k
      switch (act) {
108
7.19k
        case (action::destroy):
109
7.19k
          Derived::destroy(*current);
110
7.19k
          break;
111
14.3k
        case (action::move):
112
14.3k
          Derived::move(*current, *other);
113
14.3k
          break;
114
21.5k
      }
115
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::handler_base<ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_11> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage*)
Line
Count
Source
106
21.5k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
21.5k
      switch (act) {
108
7.19k
        case (action::destroy):
109
7.19k
          Derived::destroy(*current);
110
7.19k
          break;
111
14.3k
        case (action::move):
112
14.3k
          Derived::move(*current, *other);
113
14.3k
          break;
114
21.5k
      }
115
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, us_listen_socket_t*>::handler_base<ofats::any_detail::handler_traits<void, us_listen_socket_t*>::small_handler<test()::$_12> >::handle(ofats::any_detail::action, ofats::any_detail::storage*, ofats::any_detail::storage*)
Line
Count
Source
106
7.19k
    static void handle(action act, storage* current, storage* other = nullptr) {
107
7.19k
      switch (act) {
108
7.19k
        case (action::destroy):
109
7.19k
          Derived::destroy(*current);
110
7.19k
          break;
111
0
        case (action::move):
112
0
          Derived::move(*current, *other);
113
0
          break;
114
7.19k
      }
115
7.19k
    }
116
  };
117
118
  template <class T>
119
  struct small_handler : handler_base<small_handler<T>> {
120
    template <class... Args>
121
1.28M
    static void create(storage& s, Args&&... args) {
122
1.28M
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
1.28M
    }
void ofats::any_detail::handler_traits<void*, void*, uWS::HttpRequest*>::small_handler<uWS::HttpContext<false>::init()::{lambda(us_socket_t*, char*, int)#1}::operator()(us_socket_t*, char*, int) const::{lambda(void*, uWS::HttpRequest*)#1}>::create<{lambda(us_socket_t*, char*, int)#1}>(ofats::any_detail::storage&, {lambda(us_socket_t*, char*, int)#1}&&)
Line
Count
Source
121
468k
    static void create(storage& s, Args&&... args) {
122
468k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
468k
    }
void ofats::any_detail::handler_traits<void*, void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::small_handler<uWS::HttpContext<false>::init()::{lambda(us_socket_t*, char*, int)#1}::operator()(us_socket_t*, char*, int) const::{lambda(void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool)#1}>::create<{lambda(us_socket_t*, char*, int)#1}>(ofats::any_detail::storage&, {lambda(us_socket_t*, char*, int)#1}&&)
Line
Count
Source
121
468k
    static void create(storage& s, Args&&... args) {
122
468k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
468k
    }
Unexecuted instantiation: void ofats::any_detail::handler_traits<bool, unsigned long>::small_handler<uWS::HttpResponseData<false>::callOnWritable(unsigned long)::{lambda(unsigned long)#1}>::create<{lambda(unsigned long)#1}>(ofats::any_detail::storage&, {lambda(unsigned long)#1}&&)
void ofats::any_detail::handler_traits<void, uWS::HttpResponse<false>*, uWS::HttpRequest*>::small_handler<uWS::TemplatedApp<false>::TemplatedApp(uWS::SocketContextOptions)::{lambda(auto:1*, auto:2*)#1}>::create<{lambda(auto:1*, auto:2*)#1}>(ofats::any_detail::storage&, {lambda(auto:1*, auto:2*)#1}&&)
Line
Count
Source
121
21.5k
    static void create(storage& s, Args&&... args) {
122
21.5k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
21.5k
    }
EpollEchoServer.cpp:void ofats::any_detail::handler_traits<void, uWS::Loop*>::small_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(uWS::Loop*)#1}>::create<{lambda(uWS::Loop*)#1}>(ofats::any_detail::storage&, {lambda(uWS::Loop*)#1}&&)
Line
Count
Source
121
14.3k
    static void create(storage& s, Args&&... args) {
122
14.3k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
14.3k
    }
EpollEchoServer.cpp:void ofats::any_detail::handler_traits<void, uWS::Loop*>::small_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(uWS::Loop*)#2}>::create<{lambda(uWS::Loop*)#2}>(ofats::any_detail::storage&, {lambda(uWS::Loop*)#2}&&)
Line
Count
Source
121
14.3k
    static void create(storage& s, Args&&... args) {
122
14.3k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
14.3k
    }
EpollEchoServer.cpp:void ofats::any_detail::handler_traits<void>::small_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda()#1}>::create<{lambda()#1}>(ofats::any_detail::storage&, {lambda()#1}&&)
Line
Count
Source
121
35.9k
    static void create(storage& s, Args&&... args) {
122
35.9k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
35.9k
    }
EpollEchoServer.cpp:void ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_0>::create<test()::$_0>(ofats::any_detail::storage&, test()::$_0&&)
Line
Count
Source
121
21.5k
    static void create(storage& s, Args&&... args) {
122
21.5k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
21.5k
    }
EpollEchoServer.cpp:void ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::small_handler<test()::$_1>::create<test()::$_1>(ofats::any_detail::storage&, test()::$_1&&)
Line
Count
Source
121
21.5k
    static void create(storage& s, Args&&... args) {
122
21.5k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
21.5k
    }
EpollEchoServer.cpp:void ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_2>::create<test()::$_2>(ofats::any_detail::storage&, test()::$_2&&)
Line
Count
Source
121
21.5k
    static void create(storage& s, Args&&... args) {
122
21.5k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
21.5k
    }
EpollEchoServer.cpp:void ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_3>::create<test()::$_3>(ofats::any_detail::storage&, test()::$_3&&)
Line
Count
Source
121
21.5k
    static void create(storage& s, Args&&... args) {
122
21.5k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
21.5k
    }
EpollEchoServer.cpp:void ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_4>::create<test()::$_4>(ofats::any_detail::storage&, test()::$_4&&)
Line
Count
Source
121
21.5k
    static void create(storage& s, Args&&... args) {
122
21.5k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
21.5k
    }
EpollEchoServer.cpp:void ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_5>::create<test()::$_5>(ofats::any_detail::storage&, test()::$_5&&)
Line
Count
Source
121
21.5k
    static void create(storage& s, Args&&... args) {
122
21.5k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
21.5k
    }
EpollEchoServer.cpp:void ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_6>::create<test()::$_6>(ofats::any_detail::storage&, test()::$_6&&)
Line
Count
Source
121
21.5k
    static void create(storage& s, Args&&... args) {
122
21.5k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
21.5k
    }
EpollEchoServer.cpp:void ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::small_handler<test()::$_7>::create<test()::$_7>(ofats::any_detail::storage&, test()::$_7&&)
Line
Count
Source
121
21.5k
    static void create(storage& s, Args&&... args) {
122
21.5k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
21.5k
    }
EpollEchoServer.cpp:void ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_8>::create<test()::$_8>(ofats::any_detail::storage&, test()::$_8&&)
Line
Count
Source
121
21.5k
    static void create(storage& s, Args&&... args) {
122
21.5k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
21.5k
    }
EpollEchoServer.cpp:void ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_9>::create<test()::$_9>(ofats::any_detail::storage&, test()::$_9&&)
Line
Count
Source
121
21.5k
    static void create(storage& s, Args&&... args) {
122
21.5k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
21.5k
    }
EpollEchoServer.cpp:void ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_10>::create<test()::$_10>(ofats::any_detail::storage&, test()::$_10&&)
Line
Count
Source
121
21.5k
    static void create(storage& s, Args&&... args) {
122
21.5k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
21.5k
    }
EpollEchoServer.cpp:void ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_11>::create<test()::$_11>(ofats::any_detail::storage&, test()::$_11&&)
Line
Count
Source
121
21.5k
    static void create(storage& s, Args&&... args) {
122
21.5k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
21.5k
    }
EpollEchoServer.cpp:void ofats::any_detail::handler_traits<void, us_listen_socket_t*>::small_handler<test()::$_12>::create<test()::$_12>(ofats::any_detail::storage&, test()::$_12&&)
Line
Count
Source
121
7.19k
    static void create(storage& s, Args&&... args) {
122
7.19k
      new (static_cast<void*>(&s.buf_)) T(std::forward<Args>(args)...);
123
7.19k
    }
124
125
1.28M
    static void destroy(storage& s) noexcept {
126
1.28M
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
1.28M
      value.~T();
128
1.28M
    }
ofats::any_detail::handler_traits<void*, void*, uWS::HttpRequest*>::small_handler<uWS::HttpContext<false>::init()::{lambda(us_socket_t*, char*, int)#1}::operator()(us_socket_t*, char*, int) const::{lambda(void*, uWS::HttpRequest*)#1}>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
468k
    static void destroy(storage& s) noexcept {
126
468k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
468k
      value.~T();
128
468k
    }
ofats::any_detail::handler_traits<void*, void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::small_handler<uWS::HttpContext<false>::init()::{lambda(us_socket_t*, char*, int)#1}::operator()(us_socket_t*, char*, int) const::{lambda(void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool)#1}>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
468k
    static void destroy(storage& s) noexcept {
126
468k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
468k
      value.~T();
128
468k
    }
Unexecuted instantiation: ofats::any_detail::handler_traits<bool, unsigned long>::small_handler<uWS::HttpResponseData<false>::callOnWritable(unsigned long)::{lambda(unsigned long)#1}>::destroy(ofats::any_detail::storage&)
ofats::any_detail::handler_traits<void, uWS::HttpResponse<false>*, uWS::HttpRequest*>::small_handler<uWS::TemplatedApp<false>::TemplatedApp(uWS::SocketContextOptions)::{lambda(auto:1*, auto:2*)#1}>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
21.5k
    static void destroy(storage& s) noexcept {
126
21.5k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
21.5k
      value.~T();
128
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::Loop*>::small_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(uWS::Loop*)#1}>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
14.3k
    static void destroy(storage& s) noexcept {
126
14.3k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
14.3k
      value.~T();
128
14.3k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::Loop*>::small_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(uWS::Loop*)#2}>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
14.3k
    static void destroy(storage& s) noexcept {
126
14.3k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
14.3k
      value.~T();
128
14.3k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void>::small_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda()#1}>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
35.9k
    static void destroy(storage& s) noexcept {
126
35.9k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
35.9k
      value.~T();
128
35.9k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_0>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
21.5k
    static void destroy(storage& s) noexcept {
126
21.5k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
21.5k
      value.~T();
128
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::small_handler<test()::$_1>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
21.5k
    static void destroy(storage& s) noexcept {
126
21.5k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
21.5k
      value.~T();
128
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_2>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
21.5k
    static void destroy(storage& s) noexcept {
126
21.5k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
21.5k
      value.~T();
128
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_3>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
21.5k
    static void destroy(storage& s) noexcept {
126
21.5k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
21.5k
      value.~T();
128
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_4>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
21.5k
    static void destroy(storage& s) noexcept {
126
21.5k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
21.5k
      value.~T();
128
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_5>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
21.5k
    static void destroy(storage& s) noexcept {
126
21.5k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
21.5k
      value.~T();
128
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_6>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
21.5k
    static void destroy(storage& s) noexcept {
126
21.5k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
21.5k
      value.~T();
128
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::small_handler<test()::$_7>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
21.5k
    static void destroy(storage& s) noexcept {
126
21.5k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
21.5k
      value.~T();
128
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_8>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
21.5k
    static void destroy(storage& s) noexcept {
126
21.5k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
21.5k
      value.~T();
128
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_9>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
21.5k
    static void destroy(storage& s) noexcept {
126
21.5k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
21.5k
      value.~T();
128
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_10>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
21.5k
    static void destroy(storage& s) noexcept {
126
21.5k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
21.5k
      value.~T();
128
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_11>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
21.5k
    static void destroy(storage& s) noexcept {
126
21.5k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
21.5k
      value.~T();
128
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, us_listen_socket_t*>::small_handler<test()::$_12>::destroy(ofats::any_detail::storage&)
Line
Count
Source
125
7.19k
    static void destroy(storage& s) noexcept {
126
7.19k
      T& value = *static_cast<T*>(static_cast<void*>(&s.buf_));
127
7.19k
      value.~T();
128
7.19k
    }
129
130
223k
    static void move(storage& dst, storage& src) noexcept {
131
223k
      create(dst, std::move(*static_cast<T*>(static_cast<void*>(&src.buf_))));
132
223k
      destroy(src);
133
223k
    }
Unexecuted instantiation: ofats::any_detail::handler_traits<void*, void*, uWS::HttpRequest*>::small_handler<uWS::HttpContext<false>::init()::{lambda(us_socket_t*, char*, int)#1}::operator()(us_socket_t*, char*, int) const::{lambda(void*, uWS::HttpRequest*)#1}>::move(ofats::any_detail::storage&, ofats::any_detail::handler_traits<void*, void*, uWS::HttpRequest*>::small_handler<uWS::HttpContext<false>::init()::{lambda(us_socket_t*, char*, int)#1}::operator()(us_socket_t*, char*, int) const::{lambda(void*, uWS::HttpRequest*)#1}>)
Unexecuted instantiation: ofats::any_detail::handler_traits<void*, void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::small_handler<uWS::HttpContext<false>::init()::{lambda(us_socket_t*, char*, int)#1}::operator()(us_socket_t*, char*, int) const::{lambda(void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool)#1}>::move(ofats::any_detail::storage&, ofats::any_detail::handler_traits<void*, void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::small_handler<uWS::HttpContext<false>::init()::{lambda(us_socket_t*, char*, int)#1}::operator()(us_socket_t*, char*, int) const::{lambda(void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool)#1}>)
Unexecuted instantiation: ofats::any_detail::handler_traits<bool, unsigned long>::small_handler<uWS::HttpResponseData<false>::callOnWritable(unsigned long)::{lambda(unsigned long)#1}>::move(ofats::any_detail::storage&, ofats::any_detail::storage)
ofats::any_detail::handler_traits<void, uWS::HttpResponse<false>*, uWS::HttpRequest*>::small_handler<uWS::TemplatedApp<false>::TemplatedApp(uWS::SocketContextOptions)::{lambda(auto:1*, auto:2*)#1}>::move(ofats::any_detail::storage&, ofats::any_detail::storage)
Line
Count
Source
130
14.3k
    static void move(storage& dst, storage& src) noexcept {
131
14.3k
      create(dst, std::move(*static_cast<T*>(static_cast<void*>(&src.buf_))));
132
14.3k
      destroy(src);
133
14.3k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::Loop*>::small_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(uWS::Loop*)#1}>::move(ofats::any_detail::storage&, ofats::any_detail::storage)
Line
Count
Source
130
7.19k
    static void move(storage& dst, storage& src) noexcept {
131
7.19k
      create(dst, std::move(*static_cast<T*>(static_cast<void*>(&src.buf_))));
132
7.19k
      destroy(src);
133
7.19k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::Loop*>::small_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(uWS::Loop*)#2}>::move(ofats::any_detail::storage&, ofats::any_detail::storage)
Line
Count
Source
130
7.19k
    static void move(storage& dst, storage& src) noexcept {
131
7.19k
      create(dst, std::move(*static_cast<T*>(static_cast<void*>(&src.buf_))));
132
7.19k
      destroy(src);
133
7.19k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void>::small_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda()#1}>::move(ofats::any_detail::storage&, ofats::any_detail::storage)
Line
Count
Source
130
21.5k
    static void move(storage& dst, storage& src) noexcept {
131
21.5k
      create(dst, std::move(*static_cast<T*>(static_cast<void*>(&src.buf_))));
132
21.5k
      destroy(src);
133
21.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_0>::move(ofats::any_detail::storage&, ofats::any_detail::storage&)
Line
Count
Source
130
14.3k
    static void move(storage& dst, storage& src) noexcept {
131
14.3k
      create(dst, std::move(*static_cast<T*>(static_cast<void*>(&src.buf_))));
132
14.3k
      destroy(src);
133
14.3k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::small_handler<test()::$_1>::move(ofats::any_detail::storage&, ofats::any_detail::storage&)
Line
Count
Source
130
14.3k
    static void move(storage& dst, storage& src) noexcept {
131
14.3k
      create(dst, std::move(*static_cast<T*>(static_cast<void*>(&src.buf_))));
132
14.3k
      destroy(src);
133
14.3k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_2>::move(ofats::any_detail::storage&, ofats::any_detail::storage&)
Line
Count
Source
130
14.3k
    static void move(storage& dst, storage& src) noexcept {
131
14.3k
      create(dst, std::move(*static_cast<T*>(static_cast<void*>(&src.buf_))));
132
14.3k
      destroy(src);
133
14.3k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_3>::move(ofats::any_detail::storage&, ofats::any_detail::storage&)
Line
Count
Source
130
14.3k
    static void move(storage& dst, storage& src) noexcept {
131
14.3k
      create(dst, std::move(*static_cast<T*>(static_cast<void*>(&src.buf_))));
132
14.3k
      destroy(src);
133
14.3k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_4>::move(ofats::any_detail::storage&, ofats::any_detail::storage&)
Line
Count
Source
130
14.3k
    static void move(storage& dst, storage& src) noexcept {
131
14.3k
      create(dst, std::move(*static_cast<T*>(static_cast<void*>(&src.buf_))));
132
14.3k
      destroy(src);
133
14.3k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_5>::move(ofats::any_detail::storage&, ofats::any_detail::storage&)
Line
Count
Source
130
14.3k
    static void move(storage& dst, storage& src) noexcept {
131
14.3k
      create(dst, std::move(*static_cast<T*>(static_cast<void*>(&src.buf_))));
132
14.3k
      destroy(src);
133
14.3k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_6>::move(ofats::any_detail::storage&, ofats::any_detail::storage&)
Line
Count
Source
130
14.3k
    static void move(storage& dst, storage& src) noexcept {
131
14.3k
      create(dst, std::move(*static_cast<T*>(static_cast<void*>(&src.buf_))));
132
14.3k
      destroy(src);
133
14.3k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::small_handler<test()::$_7>::move(ofats::any_detail::storage&, ofats::any_detail::storage&)
Line
Count
Source
130
14.3k
    static void move(storage& dst, storage& src) noexcept {
131
14.3k
      create(dst, std::move(*static_cast<T*>(static_cast<void*>(&src.buf_))));
132
14.3k
      destroy(src);
133
14.3k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_8>::move(ofats::any_detail::storage&, ofats::any_detail::storage&)
Line
Count
Source
130
14.3k
    static void move(storage& dst, storage& src) noexcept {
131
14.3k
      create(dst, std::move(*static_cast<T*>(static_cast<void*>(&src.buf_))));
132
14.3k
      destroy(src);
133
14.3k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_9>::move(ofats::any_detail::storage&, ofats::any_detail::storage&)
Line
Count
Source
130
14.3k
    static void move(storage& dst, storage& src) noexcept {
131
14.3k
      create(dst, std::move(*static_cast<T*>(static_cast<void*>(&src.buf_))));
132
14.3k
      destroy(src);
133
14.3k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_10>::move(ofats::any_detail::storage&, ofats::any_detail::storage&)
Line
Count
Source
130
14.3k
    static void move(storage& dst, storage& src) noexcept {
131
14.3k
      create(dst, std::move(*static_cast<T*>(static_cast<void*>(&src.buf_))));
132
14.3k
      destroy(src);
133
14.3k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_11>::move(ofats::any_detail::storage&, ofats::any_detail::storage&)
Line
Count
Source
130
14.3k
    static void move(storage& dst, storage& src) noexcept {
131
14.3k
      create(dst, std::move(*static_cast<T*>(static_cast<void*>(&src.buf_))));
132
14.3k
      destroy(src);
133
14.3k
    }
Unexecuted instantiation: EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, us_listen_socket_t*>::small_handler<test()::$_12>::move(ofats::any_detail::storage&, ofats::any_detail::storage&)
134
135
8.11M
    static R call(storage& s, ArgTypes... args) {
136
8.11M
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
8.11M
                         std::forward<ArgTypes>(args)...);
138
8.11M
    }
ofats::any_detail::handler_traits<void*, void*, uWS::HttpRequest*>::small_handler<uWS::HttpContext<false>::init()::{lambda(us_socket_t*, char*, int)#1}::operator()(us_socket_t*, char*, int) const::{lambda(void*, uWS::HttpRequest*)#1}>::call(ofats::any_detail::storage&, void*, uWS::HttpRequest*)
Line
Count
Source
135
230k
    static R call(storage& s, ArgTypes... args) {
136
230k
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
230k
                         std::forward<ArgTypes>(args)...);
138
230k
    }
ofats::any_detail::handler_traits<void*, void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::small_handler<uWS::HttpContext<false>::init()::{lambda(us_socket_t*, char*, int)#1}::operator()(us_socket_t*, char*, int) const::{lambda(void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool)#1}>::call(ofats::any_detail::storage&, void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool)
Line
Count
Source
135
15.3k
    static R call(storage& s, ArgTypes... args) {
136
15.3k
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
15.3k
                         std::forward<ArgTypes>(args)...);
138
15.3k
    }
Unexecuted instantiation: ofats::any_detail::handler_traits<bool, unsigned long>::small_handler<uWS::HttpResponseData<false>::callOnWritable(unsigned long)::{lambda(unsigned long)#1}>::call(ofats::any_detail::storage&, unsigned long)
ofats::any_detail::handler_traits<void, uWS::HttpResponse<false>*, uWS::HttpRequest*>::small_handler<uWS::TemplatedApp<false>::TemplatedApp(uWS::SocketContextOptions)::{lambda(auto:1*, auto:2*)#1}>::call(ofats::any_detail::storage&, uWS::HttpResponse<false>*, uWS::HttpRequest*)
Line
Count
Source
135
14.9k
    static R call(storage& s, ArgTypes... args) {
136
14.9k
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
14.9k
                         std::forward<ArgTypes>(args)...);
138
14.9k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::Loop*>::small_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(uWS::Loop*)#1}>::call(ofats::any_detail::storage&, uWS::Loop*)
Line
Count
Source
135
3.63M
    static R call(storage& s, ArgTypes... args) {
136
3.63M
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
3.63M
                         std::forward<ArgTypes>(args)...);
138
3.63M
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::Loop*>::small_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(uWS::Loop*)#2}>::call(ofats::any_detail::storage&, uWS::Loop*)
Line
Count
Source
135
3.63M
    static R call(storage& s, ArgTypes... args) {
136
3.63M
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
3.63M
                         std::forward<ArgTypes>(args)...);
138
3.63M
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void>::small_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda()#1}>::call(ofats::any_detail::storage&)
Line
Count
Source
135
14.3k
    static R call(storage& s, ArgTypes... args) {
136
14.3k
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
14.3k
                         std::forward<ArgTypes>(args)...);
138
14.3k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_0>::call(ofats::any_detail::storage&, uWS::WebSocket<false, true, test()::PerSocketData>*)
Line
Count
Source
135
177k
    static R call(storage& s, ArgTypes... args) {
136
177k
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
177k
                         std::forward<ArgTypes>(args)...);
138
177k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::small_handler<test()::$_1>::call(ofats::any_detail::storage&, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode)
Line
Count
Source
135
56.5k
    static R call(storage& s, ArgTypes... args) {
136
56.5k
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
56.5k
                         std::forward<ArgTypes>(args)...);
138
56.5k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_2>::call(ofats::any_detail::storage&, uWS::WebSocket<false, true, test()::PerSocketData>*)
Line
Count
Source
135
45.9k
    static R call(storage& s, ArgTypes... args) {
136
45.9k
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
45.9k
                         std::forward<ArgTypes>(args)...);
138
45.9k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_3>::call(ofats::any_detail::storage&, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >)
Line
Count
Source
135
2.74k
    static R call(storage& s, ArgTypes... args) {
136
2.74k
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
2.74k
                         std::forward<ArgTypes>(args)...);
138
2.74k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_4>::call(ofats::any_detail::storage&, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >)
Line
Count
Source
135
5.07k
    static R call(storage& s, ArgTypes... args) {
136
5.07k
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
5.07k
                         std::forward<ArgTypes>(args)...);
138
5.07k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_5>::call(ofats::any_detail::storage&, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> >)
Line
Count
Source
135
177k
    static R call(storage& s, ArgTypes... args) {
136
177k
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
177k
                         std::forward<ArgTypes>(args)...);
138
177k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_6>::call(ofats::any_detail::storage&, uWS::WebSocket<false, true, test()::PerSocketData>*)
Line
Count
Source
135
38.2k
    static R call(storage& s, ArgTypes... args) {
136
38.2k
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
38.2k
                         std::forward<ArgTypes>(args)...);
138
38.2k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::small_handler<test()::$_7>::call(ofats::any_detail::storage&, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode)
Line
Count
Source
135
12.9k
    static R call(storage& s, ArgTypes... args) {
136
12.9k
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
12.9k
                         std::forward<ArgTypes>(args)...);
138
12.9k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*>::small_handler<test()::$_8>::call(ofats::any_detail::storage&, uWS::WebSocket<false, true, test()::PerSocketData>*)
Line
Count
Source
135
4.43k
    static R call(storage& s, ArgTypes... args) {
136
4.43k
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
4.43k
                         std::forward<ArgTypes>(args)...);
138
4.43k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_9>::call(ofats::any_detail::storage&, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >)
Line
Count
Source
135
9.77k
    static R call(storage& s, ArgTypes... args) {
136
9.77k
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
9.77k
                         std::forward<ArgTypes>(args)...);
138
9.77k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_10>::call(ofats::any_detail::storage&, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >)
Line
Count
Source
135
1.48k
    static R call(storage& s, ArgTypes... args) {
136
1.48k
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
1.48k
                         std::forward<ArgTypes>(args)...);
138
1.48k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::small_handler<test()::$_11>::call(ofats::any_detail::storage&, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> >)
Line
Count
Source
135
38.2k
    static R call(storage& s, ArgTypes... args) {
136
38.2k
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
38.2k
                         std::forward<ArgTypes>(args)...);
138
38.2k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, us_listen_socket_t*>::small_handler<test()::$_12>::call(ofats::any_detail::storage&, us_listen_socket_t*)
Line
Count
Source
135
7.19k
    static R call(storage& s, ArgTypes... args) {
136
7.19k
      return std::invoke(*static_cast<T*>(static_cast<void*>(&s.buf_)),
137
7.19k
                         std::forward<ArgTypes>(args)...);
138
7.19k
    }
139
  };
140
141
  template <class T>
142
  struct large_handler : handler_base<large_handler<T>> {
143
    template <class... Args>
144
45.7k
    static void create(storage& s, Args&&... args) {
145
45.7k
      s.ptr_ = new T(std::forward<Args>(args)...);
146
45.7k
    }
void ofats::any_detail::handler_traits<bool, uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*>::large_handler<uWS::HttpContext<false>::onHttp(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, ofats::any_invocable<void (uWS::HttpResponse<false>*, uWS::HttpRequest*)>&&, bool)::{lambda(auto:1*)#1}>::create<{lambda(auto:1*)#1}>(ofats::any_detail::storage&, {lambda(auto:1*)#1}&&)
Line
Count
Source
144
21.5k
    static void create(storage& s, Args&&... args) {
145
21.5k
      s.ptr_ = new T(std::forward<Args>(args)...);
146
21.5k
    }
EpollEchoServer.cpp:void ofats::any_detail::handler_traits<void, uWS::HttpResponse<false>*, uWS::HttpRequest*>::large_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(auto:1*, auto:2*)#1}>::create<{lambda(auto:1*, auto:2*)#1}>(ofats::any_detail::storage&, {lambda(auto:1*, auto:2*)#1}&&)
Line
Count
Source
144
14.3k
    static void create(storage& s, Args&&... args) {
145
14.3k
      s.ptr_ = new T(std::forward<Args>(args)...);
146
14.3k
    }
EpollEchoServer.cpp:void ofats::any_detail::handler_traits<void>::large_handler<test()::$_9::operator()<uWS::WebSocket<false, true, test()::PerSocketData> >(uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >) const::{lambda()#1}>::create<{lambda()#1}>(ofats::any_detail::storage&, {lambda()#1}&&)
Line
Count
Source
144
9.77k
    static void create(storage& s, Args&&... args) {
145
9.77k
      s.ptr_ = new T(std::forward<Args>(args)...);
146
9.77k
    }
147
148
45.7k
    static void destroy(storage& s) noexcept { delete static_cast<T*>(s.ptr_); }
ofats::any_detail::handler_traits<bool, uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*>::large_handler<uWS::HttpContext<false>::onHttp(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, ofats::any_invocable<void (uWS::HttpResponse<false>*, uWS::HttpRequest*)>&&, bool)::{lambda(auto:1*)#1}>::destroy(ofats::any_detail::storage&)
Line
Count
Source
148
21.5k
    static void destroy(storage& s) noexcept { delete static_cast<T*>(s.ptr_); }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::HttpResponse<false>*, uWS::HttpRequest*>::large_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(auto:1*, auto:2*)#1}>::destroy(ofats::any_detail::storage&)
Line
Count
Source
148
14.3k
    static void destroy(storage& s) noexcept { delete static_cast<T*>(s.ptr_); }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void>::large_handler<test()::$_9::operator()<uWS::WebSocket<false, true, test()::PerSocketData> >(uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >) const::{lambda()#1}>::destroy(ofats::any_detail::storage&)
Line
Count
Source
148
9.77k
    static void destroy(storage& s) noexcept { delete static_cast<T*>(s.ptr_); }
149
150
91.3k
    static void move(storage& dst, storage& src) noexcept {
151
91.3k
      dst.ptr_ = src.ptr_;
152
91.3k
    }
ofats::any_detail::handler_traits<bool, uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*>::large_handler<uWS::HttpContext<false>::onHttp(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, ofats::any_invocable<void (uWS::HttpResponse<false>*, uWS::HttpRequest*)>&&, bool)::{lambda(auto:1*)#1}>::move(ofats::any_detail::storage&, ofats::any_detail::storage)
Line
Count
Source
150
43.1k
    static void move(storage& dst, storage& src) noexcept {
151
43.1k
      dst.ptr_ = src.ptr_;
152
43.1k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::HttpResponse<false>*, uWS::HttpRequest*>::large_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(auto:1*, auto:2*)#1}>::move(ofats::any_detail::storage&, ofats::any_detail::storage)
Line
Count
Source
150
28.7k
    static void move(storage& dst, storage& src) noexcept {
151
28.7k
      dst.ptr_ = src.ptr_;
152
28.7k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void>::large_handler<test()::$_9::operator()<uWS::WebSocket<false, true, test()::PerSocketData> >(uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >) const::{lambda()#1}>::move(ofats::any_detail::storage&, ofats::any_detail::storage)
Line
Count
Source
150
19.4k
    static void move(storage& dst, storage& src) noexcept {
151
19.4k
      dst.ptr_ = src.ptr_;
152
19.4k
    }
153
154
465k
    static R call(storage& s, ArgTypes... args) {
155
465k
      return std::invoke(*static_cast<T*>(s.ptr_),
156
465k
                         std::forward<ArgTypes>(args)...);
157
465k
    }
ofats::any_detail::handler_traits<bool, uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*>::large_handler<uWS::HttpContext<false>::onHttp(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, ofats::any_invocable<void (uWS::HttpResponse<false>*, uWS::HttpRequest*)>&&, bool)::{lambda(auto:1*)#1}>::call(ofats::any_detail::storage&, uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*)
Line
Count
Source
154
237k
    static R call(storage& s, ArgTypes... args) {
155
237k
      return std::invoke(*static_cast<T*>(s.ptr_),
156
237k
                         std::forward<ArgTypes>(args)...);
157
237k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void, uWS::HttpResponse<false>*, uWS::HttpRequest*>::large_handler<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(auto:1*, auto:2*)#1}>::call(ofats::any_detail::storage&, uWS::HttpResponse<false>*, uWS::HttpRequest*)
Line
Count
Source
154
222k
    static R call(storage& s, ArgTypes... args) {
155
222k
      return std::invoke(*static_cast<T*>(s.ptr_),
156
222k
                         std::forward<ArgTypes>(args)...);
157
222k
    }
EpollEchoServer.cpp:ofats::any_detail::handler_traits<void>::large_handler<test()::$_9::operator()<uWS::WebSocket<false, true, test()::PerSocketData> >(uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >) const::{lambda()#1}>::call(ofats::any_detail::storage&)
Line
Count
Source
154
6.03k
    static R call(storage& s, ArgTypes... args) {
155
6.03k
      return std::invoke(*static_cast<T*>(s.ptr_),
156
6.03k
                         std::forward<ArgTypes>(args)...);
157
6.03k
    }
158
  };
159
160
  template <class T>
161
  using handler = std::conditional_t<is_small_object_v<T>, small_handler<T>,
162
                                     large_handler<T>>;
163
};
164
165
template <class T>
166
struct is_in_place_type : std::false_type {};
167
168
template <class T>
169
struct is_in_place_type<std::in_place_type_t<T>> : std::true_type {};
170
171
template <class T>
172
inline constexpr auto is_in_place_type_v = is_in_place_type<T>::value;
173
174
template <class R, bool is_noexcept, class... ArgTypes>
175
class any_invocable_impl {
176
  template <class T>
177
  using handler =
178
      typename any_detail::handler_traits<R, ArgTypes...>::template handler<T>;
179
180
  using storage = any_detail::storage;
181
  using action = any_detail::action;
182
  using handle_func = void (*)(any_detail::action, any_detail::storage*,
183
                               any_detail::storage*);
184
  using call_func = R (*)(any_detail::storage&, ArgTypes...);
185
186
 public:
187
  using result_type = R;
188
189
5.46M
  any_invocable_impl() noexcept = default;
ofats::any_detail::any_invocable_impl<void, false, char const*>::any_invocable_impl()
Line
Count
Source
189
7.19k
  any_invocable_impl() noexcept = default;
ofats::any_detail::any_invocable_impl<bool, false, unsigned long>::any_invocable_impl()
Line
Count
Source
189
1.44M
  any_invocable_impl() noexcept = default;
ofats::any_detail::any_invocable_impl<void, false>::any_invocable_impl()
Line
Count
Source
189
1.47M
  any_invocable_impl() noexcept = default;
ofats::any_detail::any_invocable_impl<void, false, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::any_invocable_impl()
Line
Count
Source
189
1.44M
  any_invocable_impl() noexcept = default;
ofats::any_detail::any_invocable_impl<void*, false, void*, uWS::HttpRequest*>::any_invocable_impl()
Line
Count
Source
189
468k
  any_invocable_impl() noexcept = default;
ofats::any_detail::any_invocable_impl<void*, false, void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::any_invocable_impl()
Line
Count
Source
189
468k
  any_invocable_impl() noexcept = default;
ofats::any_detail::any_invocable_impl<bool, false, uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*>::any_invocable_impl()
Line
Count
Source
189
21.5k
  any_invocable_impl() noexcept = default;
ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, uWS::HttpRequest*>::any_invocable_impl()
Line
Count
Source
189
21.5k
  any_invocable_impl() noexcept = default;
ofats::any_detail::any_invocable_impl<void, false, uWS::Loop*>::any_invocable_impl()
Line
Count
Source
189
14.3k
  any_invocable_impl() noexcept = default;
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*>::any_invocable_impl()
Line
Count
Source
189
28.7k
  any_invocable_impl() noexcept = default;
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::any_invocable_impl()
Line
Count
Source
189
14.3k
  any_invocable_impl() noexcept = default;
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::any_invocable_impl()
Line
Count
Source
189
28.7k
  any_invocable_impl() noexcept = default;
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::any_invocable_impl()
Line
Count
Source
189
14.3k
  any_invocable_impl() noexcept = default;
ofats::any_detail::any_invocable_impl<void, false, us_listen_socket_t*>::any_invocable_impl()
Line
Count
Source
189
7.19k
  any_invocable_impl() noexcept = default;
190
619k
  any_invocable_impl(std::nullptr_t) noexcept {}
ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, uWS::HttpRequest*, us_socket_context_t*>::any_invocable_impl(decltype(nullptr))
Line
Count
Source
190
14.3k
  any_invocable_impl(std::nullptr_t) noexcept {}
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::any_invocable_impl(decltype(nullptr))
Line
Count
Source
190
43.1k
  any_invocable_impl(std::nullptr_t) noexcept {}
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, int, int>::any_invocable_impl(decltype(nullptr))
Line
Count
Source
190
28.7k
  any_invocable_impl(std::nullptr_t) noexcept {}
Unexecuted instantiation: ofats::any_detail::any_invocable_impl<void, false, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::any_invocable_impl(decltype(nullptr))
ofats::any_detail::any_invocable_impl<void, false>::any_invocable_impl(decltype(nullptr))
Line
Count
Source
190
230k
  any_invocable_impl(std::nullptr_t) noexcept {}
ofats::any_detail::any_invocable_impl<bool, false, unsigned long>::any_invocable_impl(decltype(nullptr))
Line
Count
Source
190
230k
  any_invocable_impl(std::nullptr_t) noexcept {}
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*>::any_invocable_impl(decltype(nullptr))
Line
Count
Source
190
28.7k
  any_invocable_impl(std::nullptr_t) noexcept {}
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::any_invocable_impl(decltype(nullptr))
Line
Count
Source
190
14.3k
  any_invocable_impl(std::nullptr_t) noexcept {}
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::any_invocable_impl(decltype(nullptr))
Line
Count
Source
190
28.7k
  any_invocable_impl(std::nullptr_t) noexcept {}
191
516k
  any_invocable_impl(any_invocable_impl&& rhs) noexcept {
192
516k
    if (rhs.handle_) {
193
228k
      handle_ = rhs.handle_;
194
228k
      handle_(action::move, &storage_, &rhs.storage_);
195
228k
      call_ = rhs.call_;
196
228k
      rhs.handle_ = nullptr;
197
228k
    }
198
516k
  }
Unexecuted instantiation: ofats::any_detail::any_invocable_impl<bool, false, unsigned long>::any_invocable_impl(ofats::any_detail::any_invocable_impl<bool, false, unsigned long>&&)
ofats::any_detail::any_invocable_impl<bool, false, uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*>::any_invocable_impl(ofats::any_detail::any_invocable_impl<bool, false, uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*>&&)
Line
Count
Source
191
43.1k
  any_invocable_impl(any_invocable_impl&& rhs) noexcept {
192
43.1k
    if (rhs.handle_) {
193
43.1k
      handle_ = rhs.handle_;
194
43.1k
      handle_(action::move, &storage_, &rhs.storage_);
195
43.1k
      call_ = rhs.call_;
196
43.1k
      rhs.handle_ = nullptr;
197
43.1k
    }
198
43.1k
  }
ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, uWS::HttpRequest*>::any_invocable_impl(ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, uWS::HttpRequest*>&&)
Line
Count
Source
191
43.1k
  any_invocable_impl(any_invocable_impl&& rhs) noexcept {
192
43.1k
    if (rhs.handle_) {
193
43.1k
      handle_ = rhs.handle_;
194
43.1k
      handle_(action::move, &storage_, &rhs.storage_);
195
43.1k
      call_ = rhs.call_;
196
43.1k
      rhs.handle_ = nullptr;
197
43.1k
    }
198
43.1k
  }
ofats::any_detail::any_invocable_impl<void, false, uWS::Loop*>::any_invocable_impl(ofats::any_detail::any_invocable_impl<void, false, uWS::Loop*>&&)
Line
Count
Source
191
14.3k
  any_invocable_impl(any_invocable_impl&& rhs) noexcept {
192
14.3k
    if (rhs.handle_) {
193
14.3k
      handle_ = rhs.handle_;
194
14.3k
      handle_(action::move, &storage_, &rhs.storage_);
195
14.3k
      call_ = rhs.call_;
196
14.3k
      rhs.handle_ = nullptr;
197
14.3k
    }
198
14.3k
  }
ofats::any_detail::any_invocable_impl<void, false>::any_invocable_impl(ofats::any_detail::any_invocable_impl<void, false>&&)
Line
Count
Source
191
41.0k
  any_invocable_impl(any_invocable_impl&& rhs) noexcept {
192
41.0k
    if (rhs.handle_) {
193
41.0k
      handle_ = rhs.handle_;
194
41.0k
      handle_(action::move, &storage_, &rhs.storage_);
195
41.0k
      call_ = rhs.call_;
196
41.0k
      rhs.handle_ = nullptr;
197
41.0k
    }
198
41.0k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*>::any_invocable_impl(ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*>&&)
Line
Count
Source
191
86.3k
  any_invocable_impl(any_invocable_impl&& rhs) noexcept {
192
86.3k
    if (rhs.handle_) {
193
28.7k
      handle_ = rhs.handle_;
194
28.7k
      handle_(action::move, &storage_, &rhs.storage_);
195
28.7k
      call_ = rhs.call_;
196
28.7k
      rhs.handle_ = nullptr;
197
28.7k
    }
198
86.3k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::any_invocable_impl(ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>&&)
Line
Count
Source
191
86.3k
  any_invocable_impl(any_invocable_impl&& rhs) noexcept {
192
86.3k
    if (rhs.handle_) {
193
14.3k
      handle_ = rhs.handle_;
194
14.3k
      handle_(action::move, &storage_, &rhs.storage_);
195
14.3k
      call_ = rhs.call_;
196
14.3k
      rhs.handle_ = nullptr;
197
14.3k
    }
198
86.3k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, int, int>::any_invocable_impl(ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, int, int>&&)
Line
Count
Source
191
43.1k
  any_invocable_impl(any_invocable_impl&& rhs) noexcept {
192
43.1k
    if (rhs.handle_) {
193
0
      handle_ = rhs.handle_;
194
0
      handle_(action::move, &storage_, &rhs.storage_);
195
0
      call_ = rhs.call_;
196
0
      rhs.handle_ = nullptr;
197
0
    }
198
43.1k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::any_invocable_impl(ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >&&)
Line
Count
Source
191
43.1k
  any_invocable_impl(any_invocable_impl&& rhs) noexcept {
192
43.1k
    if (rhs.handle_) {
193
14.3k
      handle_ = rhs.handle_;
194
14.3k
      handle_(action::move, &storage_, &rhs.storage_);
195
14.3k
      call_ = rhs.call_;
196
14.3k
      rhs.handle_ = nullptr;
197
14.3k
    }
198
43.1k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::any_invocable_impl(ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >&&)
Line
Count
Source
191
86.3k
  any_invocable_impl(any_invocable_impl&& rhs) noexcept {
192
86.3k
    if (rhs.handle_) {
193
28.7k
      handle_ = rhs.handle_;
194
28.7k
      handle_(action::move, &storage_, &rhs.storage_);
195
28.7k
      call_ = rhs.call_;
196
28.7k
      rhs.handle_ = nullptr;
197
28.7k
    }
198
86.3k
  }
ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, uWS::HttpRequest*, us_socket_context_t*>::any_invocable_impl(ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, uWS::HttpRequest*, us_socket_context_t*>&&)
Line
Count
Source
191
28.7k
  any_invocable_impl(any_invocable_impl&& rhs) noexcept {
192
28.7k
    if (rhs.handle_) {
193
0
      handle_ = rhs.handle_;
194
0
      handle_(action::move, &storage_, &rhs.storage_);
195
0
      call_ = rhs.call_;
196
0
      rhs.handle_ = nullptr;
197
0
    }
198
28.7k
  }
199
200
115k
  any_invocable_impl& operator=(any_invocable_impl&& rhs) noexcept {
201
115k
    any_invocable_impl{std::move(rhs)}.swap(*this);
202
115k
    return *this;
203
115k
  }
Unexecuted instantiation: ofats::any_detail::any_invocable_impl<bool, false, unsigned long>::operator=(ofats::any_detail::any_invocable_impl<bool, false, unsigned long>&&)
Unexecuted instantiation: ofats::any_detail::any_invocable_impl<bool, false, uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*>::operator=(ofats::any_detail::any_invocable_impl<bool, false, uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*>&&)
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*>::operator=(ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*>&&)
Line
Count
Source
200
28.7k
  any_invocable_impl& operator=(any_invocable_impl&& rhs) noexcept {
201
28.7k
    any_invocable_impl{std::move(rhs)}.swap(*this);
202
28.7k
    return *this;
203
28.7k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::operator=(ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>&&)
Line
Count
Source
200
28.7k
  any_invocable_impl& operator=(any_invocable_impl&& rhs) noexcept {
201
28.7k
    any_invocable_impl{std::move(rhs)}.swap(*this);
202
28.7k
    return *this;
203
28.7k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, int, int>::operator=(ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, int, int>&&)
Line
Count
Source
200
14.3k
  any_invocable_impl& operator=(any_invocable_impl&& rhs) noexcept {
201
14.3k
    any_invocable_impl{std::move(rhs)}.swap(*this);
202
14.3k
    return *this;
203
14.3k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::operator=(ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >&&)
Line
Count
Source
200
14.3k
  any_invocable_impl& operator=(any_invocable_impl&& rhs) noexcept {
201
14.3k
    any_invocable_impl{std::move(rhs)}.swap(*this);
202
14.3k
    return *this;
203
14.3k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::operator=(ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >&&)
Line
Count
Source
200
28.7k
  any_invocable_impl& operator=(any_invocable_impl&& rhs) noexcept {
201
28.7k
    any_invocable_impl{std::move(rhs)}.swap(*this);
202
28.7k
    return *this;
203
28.7k
  }
204
  any_invocable_impl& operator=(std::nullptr_t) noexcept {
205
    destroy();
206
    return *this;
207
  }
208
209
6.60M
  ~any_invocable_impl() { destroy(); }
ofats::any_detail::any_invocable_impl<void, false, us_listen_socket_t*>::~any_invocable_impl()
Line
Count
Source
209
7.19k
  ~any_invocable_impl() { destroy(); }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::~any_invocable_impl()
Line
Count
Source
209
71.9k
  ~any_invocable_impl() { destroy(); }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, int, int>::~any_invocable_impl()
Line
Count
Source
209
71.9k
  ~any_invocable_impl() { destroy(); }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::~any_invocable_impl()
Line
Count
Source
209
143k
  ~any_invocable_impl() { destroy(); }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*>::~any_invocable_impl()
Line
Count
Source
209
143k
  ~any_invocable_impl() { destroy(); }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::~any_invocable_impl()
Line
Count
Source
209
143k
  ~any_invocable_impl() { destroy(); }
ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, uWS::HttpRequest*, us_socket_context_t*>::~any_invocable_impl()
Line
Count
Source
209
43.1k
  ~any_invocable_impl() { destroy(); }
ofats::any_detail::any_invocable_impl<void, false>::~any_invocable_impl()
Line
Count
Source
209
1.74M
  ~any_invocable_impl() { destroy(); }
ofats::any_detail::any_invocable_impl<void, false, uWS::Loop*>::~any_invocable_impl()
Line
Count
Source
209
28.7k
  ~any_invocable_impl() { destroy(); }
ofats::any_detail::any_invocable_impl<bool, false, uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*>::~any_invocable_impl()
Line
Count
Source
209
64.7k
  ~any_invocable_impl() { destroy(); }
ofats::any_detail::any_invocable_impl<void, false, char const*>::~any_invocable_impl()
Line
Count
Source
209
7.19k
  ~any_invocable_impl() { destroy(); }
Unexecuted instantiation: ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, int>::~any_invocable_impl()
ofats::any_detail::any_invocable_impl<void, false, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::~any_invocable_impl()
Line
Count
Source
209
1.44M
  ~any_invocable_impl() { destroy(); }
ofats::any_detail::any_invocable_impl<bool, false, unsigned long>::~any_invocable_impl()
Line
Count
Source
209
1.67M
  ~any_invocable_impl() { destroy(); }
ofats::any_detail::any_invocable_impl<void*, false, void*, uWS::HttpRequest*>::~any_invocable_impl()
Line
Count
Source
209
468k
  ~any_invocable_impl() { destroy(); }
ofats::any_detail::any_invocable_impl<void*, false, void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::~any_invocable_impl()
Line
Count
Source
209
468k
  ~any_invocable_impl() { destroy(); }
ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, uWS::HttpRequest*>::~any_invocable_impl()
Line
Count
Source
209
64.7k
  ~any_invocable_impl() { destroy(); }
210
211
662k
  void swap(any_invocable_impl& rhs) noexcept {
212
662k
    if (handle_) {
213
86.3k
      if (rhs.handle_) {
214
0
        storage tmp;
215
0
        handle_(action::move, &tmp, &storage_);
216
0
        rhs.handle_(action::move, &storage_, &rhs.storage_);
217
0
        handle_(action::move, &rhs.storage_, &tmp);
218
0
        std::swap(handle_, rhs.handle_);
219
0
        std::swap(call_, rhs.call_);
220
86.3k
      } else {
221
86.3k
        rhs.swap(*this);
222
86.3k
      }
223
576k
    } else if (rhs.handle_) {
224
86.3k
      rhs.handle_(action::move, &storage_, &rhs.storage_);
225
86.3k
      handle_ = rhs.handle_;
226
86.3k
      call_ = rhs.call_;
227
86.3k
      rhs.handle_ = nullptr;
228
86.3k
    }
229
662k
  }
Unexecuted instantiation: ofats::any_detail::any_invocable_impl<void, false, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::swap(ofats::any_detail::any_invocable_impl<void, false, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>&)
ofats::any_detail::any_invocable_impl<bool, false, unsigned long>::swap(ofats::any_detail::any_invocable_impl<bool, false, unsigned long>&)
Line
Count
Source
211
230k
  void swap(any_invocable_impl& rhs) noexcept {
212
230k
    if (handle_) {
213
0
      if (rhs.handle_) {
214
0
        storage tmp;
215
0
        handle_(action::move, &tmp, &storage_);
216
0
        rhs.handle_(action::move, &storage_, &rhs.storage_);
217
0
        handle_(action::move, &rhs.storage_, &tmp);
218
0
        std::swap(handle_, rhs.handle_);
219
0
        std::swap(call_, rhs.call_);
220
0
      } else {
221
0
        rhs.swap(*this);
222
0
      }
223
230k
    } else if (rhs.handle_) {
224
0
      rhs.handle_(action::move, &storage_, &rhs.storage_);
225
0
      handle_ = rhs.handle_;
226
0
      call_ = rhs.call_;
227
0
      rhs.handle_ = nullptr;
228
0
    }
229
230k
  }
Unexecuted instantiation: ofats::any_detail::any_invocable_impl<bool, false, uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*>::swap(ofats::any_detail::any_invocable_impl<bool, false, uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*>&)
ofats::any_detail::any_invocable_impl<void, false>::swap(ofats::any_detail::any_invocable_impl<void, false>&)
Line
Count
Source
211
230k
  void swap(any_invocable_impl& rhs) noexcept {
212
230k
    if (handle_) {
213
0
      if (rhs.handle_) {
214
0
        storage tmp;
215
0
        handle_(action::move, &tmp, &storage_);
216
0
        rhs.handle_(action::move, &storage_, &rhs.storage_);
217
0
        handle_(action::move, &rhs.storage_, &tmp);
218
0
        std::swap(handle_, rhs.handle_);
219
0
        std::swap(call_, rhs.call_);
220
0
      } else {
221
0
        rhs.swap(*this);
222
0
      }
223
230k
    } else if (rhs.handle_) {
224
0
      rhs.handle_(action::move, &storage_, &rhs.storage_);
225
0
      handle_ = rhs.handle_;
226
0
      call_ = rhs.call_;
227
0
      rhs.handle_ = nullptr;
228
0
    }
229
230k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*>::swap(ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*>&)
Line
Count
Source
211
57.5k
  void swap(any_invocable_impl& rhs) noexcept {
212
57.5k
    if (handle_) {
213
28.7k
      if (rhs.handle_) {
214
0
        storage tmp;
215
0
        handle_(action::move, &tmp, &storage_);
216
0
        rhs.handle_(action::move, &storage_, &rhs.storage_);
217
0
        handle_(action::move, &rhs.storage_, &tmp);
218
0
        std::swap(handle_, rhs.handle_);
219
0
        std::swap(call_, rhs.call_);
220
28.7k
      } else {
221
28.7k
        rhs.swap(*this);
222
28.7k
      }
223
28.7k
    } else if (rhs.handle_) {
224
28.7k
      rhs.handle_(action::move, &storage_, &rhs.storage_);
225
28.7k
      handle_ = rhs.handle_;
226
28.7k
      call_ = rhs.call_;
227
28.7k
      rhs.handle_ = nullptr;
228
28.7k
    }
229
57.5k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::swap(ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>&)
Line
Count
Source
211
43.1k
  void swap(any_invocable_impl& rhs) noexcept {
212
43.1k
    if (handle_) {
213
14.3k
      if (rhs.handle_) {
214
0
        storage tmp;
215
0
        handle_(action::move, &tmp, &storage_);
216
0
        rhs.handle_(action::move, &storage_, &rhs.storage_);
217
0
        handle_(action::move, &rhs.storage_, &tmp);
218
0
        std::swap(handle_, rhs.handle_);
219
0
        std::swap(call_, rhs.call_);
220
14.3k
      } else {
221
14.3k
        rhs.swap(*this);
222
14.3k
      }
223
28.7k
    } else if (rhs.handle_) {
224
14.3k
      rhs.handle_(action::move, &storage_, &rhs.storage_);
225
14.3k
      handle_ = rhs.handle_;
226
14.3k
      call_ = rhs.call_;
227
14.3k
      rhs.handle_ = nullptr;
228
14.3k
    }
229
43.1k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, int, int>::swap(ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, int, int>&)
Line
Count
Source
211
14.3k
  void swap(any_invocable_impl& rhs) noexcept {
212
14.3k
    if (handle_) {
213
0
      if (rhs.handle_) {
214
0
        storage tmp;
215
0
        handle_(action::move, &tmp, &storage_);
216
0
        rhs.handle_(action::move, &storage_, &rhs.storage_);
217
0
        handle_(action::move, &rhs.storage_, &tmp);
218
0
        std::swap(handle_, rhs.handle_);
219
0
        std::swap(call_, rhs.call_);
220
0
      } else {
221
0
        rhs.swap(*this);
222
0
      }
223
14.3k
    } else if (rhs.handle_) {
224
0
      rhs.handle_(action::move, &storage_, &rhs.storage_);
225
0
      handle_ = rhs.handle_;
226
0
      call_ = rhs.call_;
227
0
      rhs.handle_ = nullptr;
228
0
    }
229
14.3k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::swap(ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >&)
Line
Count
Source
211
28.7k
  void swap(any_invocable_impl& rhs) noexcept {
212
28.7k
    if (handle_) {
213
14.3k
      if (rhs.handle_) {
214
0
        storage tmp;
215
0
        handle_(action::move, &tmp, &storage_);
216
0
        rhs.handle_(action::move, &storage_, &rhs.storage_);
217
0
        handle_(action::move, &rhs.storage_, &tmp);
218
0
        std::swap(handle_, rhs.handle_);
219
0
        std::swap(call_, rhs.call_);
220
14.3k
      } else {
221
14.3k
        rhs.swap(*this);
222
14.3k
      }
223
14.3k
    } else if (rhs.handle_) {
224
14.3k
      rhs.handle_(action::move, &storage_, &rhs.storage_);
225
14.3k
      handle_ = rhs.handle_;
226
14.3k
      call_ = rhs.call_;
227
14.3k
      rhs.handle_ = nullptr;
228
14.3k
    }
229
28.7k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::swap(ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >&)
Line
Count
Source
211
57.5k
  void swap(any_invocable_impl& rhs) noexcept {
212
57.5k
    if (handle_) {
213
28.7k
      if (rhs.handle_) {
214
0
        storage tmp;
215
0
        handle_(action::move, &tmp, &storage_);
216
0
        rhs.handle_(action::move, &storage_, &rhs.storage_);
217
0
        handle_(action::move, &rhs.storage_, &tmp);
218
0
        std::swap(handle_, rhs.handle_);
219
0
        std::swap(call_, rhs.call_);
220
28.7k
      } else {
221
28.7k
        rhs.swap(*this);
222
28.7k
      }
223
28.7k
    } else if (rhs.handle_) {
224
28.7k
      rhs.handle_(action::move, &storage_, &rhs.storage_);
225
28.7k
      handle_ = rhs.handle_;
226
28.7k
      call_ = rhs.call_;
227
28.7k
      rhs.handle_ = nullptr;
228
28.7k
    }
229
57.5k
  }
230
231
2.41M
  explicit operator bool() const noexcept { return handle_ != nullptr; }
ofats::any_detail::any_invocable_impl<void, false>::operator bool() const
Line
Count
Source
231
1.23M
  explicit operator bool() const noexcept { return handle_ != nullptr; }
ofats::any_detail::any_invocable_impl<void, false, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::operator bool() const
Line
Count
Source
231
15.3k
  explicit operator bool() const noexcept { return handle_ != nullptr; }
ofats::any_detail::any_invocable_impl<bool, false, unsigned long>::operator bool() const
Line
Count
Source
231
3.28k
  explicit operator bool() const noexcept { return handle_ != nullptr; }
ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, uWS::HttpRequest*>::operator bool() const
Line
Count
Source
231
21.5k
  explicit operator bool() const noexcept { return handle_ != nullptr; }
Unexecuted instantiation: ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, int>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::operator bool() const
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, int, int>::operator bool() const
Line
Count
Source
231
354k
  explicit operator bool() const noexcept { return handle_ != nullptr; }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::operator bool() const
Line
Count
Source
231
215k
  explicit operator bool() const noexcept { return handle_ != nullptr; }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::operator bool() const
Line
Count
Source
231
69.4k
  explicit operator bool() const noexcept { return handle_ != nullptr; }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::operator bool() const
Line
Count
Source
231
19.0k
  explicit operator bool() const noexcept { return handle_ != nullptr; }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*>::operator bool() const
Line
Count
Source
231
266k
  explicit operator bool() const noexcept { return handle_ != nullptr; }
ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, uWS::HttpRequest*, us_socket_context_t*>::operator bool() const
Line
Count
Source
231
215k
  explicit operator bool() const noexcept { return handle_ != nullptr; }
232
233
 protected:
234
  template <class F, class... Args>
235
1.11M
  void create(Args&&... args) {
236
1.11M
    using hdl = handler<F>;
237
1.11M
    hdl::create(storage_, std::forward<Args>(args)...);
238
1.11M
    handle_ = &hdl::handle;
239
1.11M
    call_ = &hdl::call;
240
1.11M
  }
void ofats::any_detail::any_invocable_impl<void*, false, void*, uWS::HttpRequest*>::create<uWS::HttpContext<false>::init()::{lambda(us_socket_t*, char*, int)#1}::operator()(us_socket_t*, char*, int) const::{lambda(void*, uWS::HttpRequest*)#1}, {lambda(us_socket_t*, char*, int)#1}>({lambda(us_socket_t*, char*, int)#1}&&)
Line
Count
Source
235
468k
  void create(Args&&... args) {
236
468k
    using hdl = handler<F>;
237
468k
    hdl::create(storage_, std::forward<Args>(args)...);
238
468k
    handle_ = &hdl::handle;
239
468k
    call_ = &hdl::call;
240
468k
  }
void ofats::any_detail::any_invocable_impl<void*, false, void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::create<uWS::HttpContext<false>::init()::{lambda(us_socket_t*, char*, int)#1}::operator()(us_socket_t*, char*, int) const::{lambda(void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool)#1}, {lambda(us_socket_t*, char*, int)#1}>({lambda(us_socket_t*, char*, int)#1}&&)
Line
Count
Source
235
468k
  void create(Args&&... args) {
236
468k
    using hdl = handler<F>;
237
468k
    hdl::create(storage_, std::forward<Args>(args)...);
238
468k
    handle_ = &hdl::handle;
239
468k
    call_ = &hdl::call;
240
468k
  }
Unexecuted instantiation: void ofats::any_detail::any_invocable_impl<bool, false, unsigned long>::create<uWS::HttpResponseData<false>::callOnWritable(unsigned long)::{lambda(unsigned long)#1}, {lambda(unsigned long)#1}>({lambda(unsigned long)#1}&&)
void ofats::any_detail::any_invocable_impl<bool, false, uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*>::create<uWS::HttpContext<false>::onHttp(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, ofats::any_invocable<void (uWS::HttpResponse<false>*, uWS::HttpRequest*)>&&, bool)::{lambda(auto:1*)#1}, {lambda(auto:1*)#1}>({lambda(auto:1*)#1}&&)
Line
Count
Source
235
21.5k
  void create(Args&&... args) {
236
21.5k
    using hdl = handler<F>;
237
21.5k
    hdl::create(storage_, std::forward<Args>(args)...);
238
21.5k
    handle_ = &hdl::handle;
239
21.5k
    call_ = &hdl::call;
240
21.5k
  }
void ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, uWS::HttpRequest*>::create<uWS::TemplatedApp<false>::TemplatedApp(uWS::SocketContextOptions)::{lambda(auto:1*, auto:2*)#1}, {lambda(auto:1*, auto:2*)#1}>({lambda(auto:1*, auto:2*)#1}&&)
Line
Count
Source
235
7.19k
  void create(Args&&... args) {
236
7.19k
    using hdl = handler<F>;
237
7.19k
    hdl::create(storage_, std::forward<Args>(args)...);
238
7.19k
    handle_ = &hdl::handle;
239
7.19k
    call_ = &hdl::call;
240
7.19k
  }
EpollEchoServer.cpp:void ofats::any_detail::any_invocable_impl<void, false, uWS::Loop*>::create<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(uWS::Loop*)#1}, {lambda(uWS::Loop*)#1}>({lambda(uWS::Loop*)#1}&&)
Line
Count
Source
235
7.19k
  void create(Args&&... args) {
236
7.19k
    using hdl = handler<F>;
237
7.19k
    hdl::create(storage_, std::forward<Args>(args)...);
238
7.19k
    handle_ = &hdl::handle;
239
7.19k
    call_ = &hdl::call;
240
7.19k
  }
EpollEchoServer.cpp:void ofats::any_detail::any_invocable_impl<void, false, uWS::Loop*>::create<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(uWS::Loop*)#2}, {lambda(uWS::Loop*)#2}>({lambda(uWS::Loop*)#2}&&)
Line
Count
Source
235
7.19k
  void create(Args&&... args) {
236
7.19k
    using hdl = handler<F>;
237
7.19k
    hdl::create(storage_, std::forward<Args>(args)...);
238
7.19k
    handle_ = &hdl::handle;
239
7.19k
    call_ = &hdl::call;
240
7.19k
  }
EpollEchoServer.cpp:void ofats::any_detail::any_invocable_impl<void, false>::create<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda()#1}, {lambda()#1}>({lambda()#1}&&)
Line
Count
Source
235
14.3k
  void create(Args&&... args) {
236
14.3k
    using hdl = handler<F>;
237
14.3k
    hdl::create(storage_, std::forward<Args>(args)...);
238
14.3k
    handle_ = &hdl::handle;
239
14.3k
    call_ = &hdl::call;
240
14.3k
  }
EpollEchoServer.cpp:void ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, uWS::HttpRequest*>::create<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(auto:1*, auto:2*)#1}, {lambda(auto:1*, auto:2*)#1}>({lambda(auto:1*, auto:2*)#1}&&)
Line
Count
Source
235
14.3k
  void create(Args&&... args) {
236
14.3k
    using hdl = handler<F>;
237
14.3k
    hdl::create(storage_, std::forward<Args>(args)...);
238
14.3k
    handle_ = &hdl::handle;
239
14.3k
    call_ = &hdl::call;
240
14.3k
  }
EpollEchoServer.cpp:void ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*>::create<test()::$_0, test()::$_0>(test()::$_0&&)
Line
Count
Source
235
7.19k
  void create(Args&&... args) {
236
7.19k
    using hdl = handler<F>;
237
7.19k
    hdl::create(storage_, std::forward<Args>(args)...);
238
7.19k
    handle_ = &hdl::handle;
239
7.19k
    call_ = &hdl::call;
240
7.19k
  }
EpollEchoServer.cpp:void ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::create<test()::$_1, test()::$_1>(test()::$_1&&)
Line
Count
Source
235
7.19k
  void create(Args&&... args) {
236
7.19k
    using hdl = handler<F>;
237
7.19k
    hdl::create(storage_, std::forward<Args>(args)...);
238
7.19k
    handle_ = &hdl::handle;
239
7.19k
    call_ = &hdl::call;
240
7.19k
  }
EpollEchoServer.cpp:void ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*>::create<test()::$_2, test()::$_2>(test()::$_2&&)
Line
Count
Source
235
7.19k
  void create(Args&&... args) {
236
7.19k
    using hdl = handler<F>;
237
7.19k
    hdl::create(storage_, std::forward<Args>(args)...);
238
7.19k
    handle_ = &hdl::handle;
239
7.19k
    call_ = &hdl::call;
240
7.19k
  }
EpollEchoServer.cpp:void ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::create<test()::$_3, test()::$_3>(test()::$_3&&)
Line
Count
Source
235
7.19k
  void create(Args&&... args) {
236
7.19k
    using hdl = handler<F>;
237
7.19k
    hdl::create(storage_, std::forward<Args>(args)...);
238
7.19k
    handle_ = &hdl::handle;
239
7.19k
    call_ = &hdl::call;
240
7.19k
  }
EpollEchoServer.cpp:void ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::create<test()::$_4, test()::$_4>(test()::$_4&&)
Line
Count
Source
235
7.19k
  void create(Args&&... args) {
236
7.19k
    using hdl = handler<F>;
237
7.19k
    hdl::create(storage_, std::forward<Args>(args)...);
238
7.19k
    handle_ = &hdl::handle;
239
7.19k
    call_ = &hdl::call;
240
7.19k
  }
EpollEchoServer.cpp:void ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::create<test()::$_5, test()::$_5>(test()::$_5&&)
Line
Count
Source
235
7.19k
  void create(Args&&... args) {
236
7.19k
    using hdl = handler<F>;
237
7.19k
    hdl::create(storage_, std::forward<Args>(args)...);
238
7.19k
    handle_ = &hdl::handle;
239
7.19k
    call_ = &hdl::call;
240
7.19k
  }
EpollEchoServer.cpp:void ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*>::create<test()::$_6, test()::$_6>(test()::$_6&&)
Line
Count
Source
235
7.19k
  void create(Args&&... args) {
236
7.19k
    using hdl = handler<F>;
237
7.19k
    hdl::create(storage_, std::forward<Args>(args)...);
238
7.19k
    handle_ = &hdl::handle;
239
7.19k
    call_ = &hdl::call;
240
7.19k
  }
EpollEchoServer.cpp:void ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::create<test()::$_7, test()::$_7>(test()::$_7&&)
Line
Count
Source
235
7.19k
  void create(Args&&... args) {
236
7.19k
    using hdl = handler<F>;
237
7.19k
    hdl::create(storage_, std::forward<Args>(args)...);
238
7.19k
    handle_ = &hdl::handle;
239
7.19k
    call_ = &hdl::call;
240
7.19k
  }
EpollEchoServer.cpp:void ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*>::create<test()::$_8, test()::$_8>(test()::$_8&&)
Line
Count
Source
235
7.19k
  void create(Args&&... args) {
236
7.19k
    using hdl = handler<F>;
237
7.19k
    hdl::create(storage_, std::forward<Args>(args)...);
238
7.19k
    handle_ = &hdl::handle;
239
7.19k
    call_ = &hdl::call;
240
7.19k
  }
EpollEchoServer.cpp:void ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::create<test()::$_9, test()::$_9>(test()::$_9&&)
Line
Count
Source
235
7.19k
  void create(Args&&... args) {
236
7.19k
    using hdl = handler<F>;
237
7.19k
    hdl::create(storage_, std::forward<Args>(args)...);
238
7.19k
    handle_ = &hdl::handle;
239
7.19k
    call_ = &hdl::call;
240
7.19k
  }
EpollEchoServer.cpp:void ofats::any_detail::any_invocable_impl<void, false>::create<test()::$_9::operator()<uWS::WebSocket<false, true, test()::PerSocketData> >(uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >) const::{lambda()#1}, {lambda()#1}>({lambda()#1}&&)
Line
Count
Source
235
9.77k
  void create(Args&&... args) {
236
9.77k
    using hdl = handler<F>;
237
9.77k
    hdl::create(storage_, std::forward<Args>(args)...);
238
9.77k
    handle_ = &hdl::handle;
239
9.77k
    call_ = &hdl::call;
240
9.77k
  }
EpollEchoServer.cpp:void ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::create<test()::$_10, test()::$_10>(test()::$_10&&)
Line
Count
Source
235
7.19k
  void create(Args&&... args) {
236
7.19k
    using hdl = handler<F>;
237
7.19k
    hdl::create(storage_, std::forward<Args>(args)...);
238
7.19k
    handle_ = &hdl::handle;
239
7.19k
    call_ = &hdl::call;
240
7.19k
  }
EpollEchoServer.cpp:void ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::create<test()::$_11, test()::$_11>(test()::$_11&&)
Line
Count
Source
235
7.19k
  void create(Args&&... args) {
236
7.19k
    using hdl = handler<F>;
237
7.19k
    hdl::create(storage_, std::forward<Args>(args)...);
238
7.19k
    handle_ = &hdl::handle;
239
7.19k
    call_ = &hdl::call;
240
7.19k
  }
EpollEchoServer.cpp:void ofats::any_detail::any_invocable_impl<void, false, us_listen_socket_t*>::create<test()::$_12, test()::$_12>(test()::$_12&&)
Line
Count
Source
235
7.19k
  void create(Args&&... args) {
236
7.19k
    using hdl = handler<F>;
237
7.19k
    hdl::create(storage_, std::forward<Args>(args)...);
238
7.19k
    handle_ = &hdl::handle;
239
7.19k
    call_ = &hdl::call;
240
7.19k
  }
241
242
6.60M
  void destroy() noexcept {
243
6.60M
    if (handle_) {
244
1.11M
      handle_(action::destroy, &storage_, nullptr);
245
1.11M
      handle_ = nullptr;
246
1.11M
    }
247
6.60M
  }
ofats::any_detail::any_invocable_impl<void, false, us_listen_socket_t*>::destroy()
Line
Count
Source
242
7.19k
  void destroy() noexcept {
243
7.19k
    if (handle_) {
244
7.19k
      handle_(action::destroy, &storage_, nullptr);
245
7.19k
      handle_ = nullptr;
246
7.19k
    }
247
7.19k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::destroy()
Line
Count
Source
242
71.9k
  void destroy() noexcept {
243
71.9k
    if (handle_) {
244
14.3k
      handle_(action::destroy, &storage_, nullptr);
245
14.3k
      handle_ = nullptr;
246
14.3k
    }
247
71.9k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, int, int>::destroy()
Line
Count
Source
242
71.9k
  void destroy() noexcept {
243
71.9k
    if (handle_) {
244
0
      handle_(action::destroy, &storage_, nullptr);
245
0
      handle_ = nullptr;
246
0
    }
247
71.9k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::destroy()
Line
Count
Source
242
143k
  void destroy() noexcept {
243
143k
    if (handle_) {
244
28.7k
      handle_(action::destroy, &storage_, nullptr);
245
28.7k
      handle_ = nullptr;
246
28.7k
    }
247
143k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*>::destroy()
Line
Count
Source
242
143k
  void destroy() noexcept {
243
143k
    if (handle_) {
244
28.7k
      handle_(action::destroy, &storage_, nullptr);
245
28.7k
      handle_ = nullptr;
246
28.7k
    }
247
143k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::destroy()
Line
Count
Source
242
143k
  void destroy() noexcept {
243
143k
    if (handle_) {
244
14.3k
      handle_(action::destroy, &storage_, nullptr);
245
14.3k
      handle_ = nullptr;
246
14.3k
    }
247
143k
  }
ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, uWS::HttpRequest*, us_socket_context_t*>::destroy()
Line
Count
Source
242
43.1k
  void destroy() noexcept {
243
43.1k
    if (handle_) {
244
0
      handle_(action::destroy, &storage_, nullptr);
245
0
      handle_ = nullptr;
246
0
    }
247
43.1k
  }
ofats::any_detail::any_invocable_impl<void, false>::destroy()
Line
Count
Source
242
1.74M
  void destroy() noexcept {
243
1.74M
    if (handle_) {
244
24.1k
      handle_(action::destroy, &storage_, nullptr);
245
24.1k
      handle_ = nullptr;
246
24.1k
    }
247
1.74M
  }
ofats::any_detail::any_invocable_impl<void, false, uWS::Loop*>::destroy()
Line
Count
Source
242
28.7k
  void destroy() noexcept {
243
28.7k
    if (handle_) {
244
14.3k
      handle_(action::destroy, &storage_, nullptr);
245
14.3k
      handle_ = nullptr;
246
14.3k
    }
247
28.7k
  }
ofats::any_detail::any_invocable_impl<bool, false, uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*>::destroy()
Line
Count
Source
242
64.7k
  void destroy() noexcept {
243
64.7k
    if (handle_) {
244
21.5k
      handle_(action::destroy, &storage_, nullptr);
245
21.5k
      handle_ = nullptr;
246
21.5k
    }
247
64.7k
  }
ofats::any_detail::any_invocable_impl<void, false, char const*>::destroy()
Line
Count
Source
242
7.19k
  void destroy() noexcept {
243
7.19k
    if (handle_) {
244
0
      handle_(action::destroy, &storage_, nullptr);
245
0
      handle_ = nullptr;
246
0
    }
247
7.19k
  }
Unexecuted instantiation: ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, int>::destroy()
ofats::any_detail::any_invocable_impl<void, false, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::destroy()
Line
Count
Source
242
1.44M
  void destroy() noexcept {
243
1.44M
    if (handle_) {
244
0
      handle_(action::destroy, &storage_, nullptr);
245
0
      handle_ = nullptr;
246
0
    }
247
1.44M
  }
ofats::any_detail::any_invocable_impl<bool, false, unsigned long>::destroy()
Line
Count
Source
242
1.67M
  void destroy() noexcept {
243
1.67M
    if (handle_) {
244
0
      handle_(action::destroy, &storage_, nullptr);
245
0
      handle_ = nullptr;
246
0
    }
247
1.67M
  }
ofats::any_detail::any_invocable_impl<void*, false, void*, uWS::HttpRequest*>::destroy()
Line
Count
Source
242
468k
  void destroy() noexcept {
243
468k
    if (handle_) {
244
468k
      handle_(action::destroy, &storage_, nullptr);
245
468k
      handle_ = nullptr;
246
468k
    }
247
468k
  }
ofats::any_detail::any_invocable_impl<void*, false, void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::destroy()
Line
Count
Source
242
468k
  void destroy() noexcept {
243
468k
    if (handle_) {
244
468k
      handle_(action::destroy, &storage_, nullptr);
245
468k
      handle_ = nullptr;
246
468k
    }
247
468k
  }
ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, uWS::HttpRequest*>::destroy()
Line
Count
Source
242
64.7k
  void destroy() noexcept {
243
64.7k
    if (handle_) {
244
21.5k
      handle_(action::destroy, &storage_, nullptr);
245
21.5k
      handle_ = nullptr;
246
21.5k
    }
247
64.7k
  }
248
249
8.58M
  R call(ArgTypes... args) noexcept(is_noexcept) {
250
8.58M
    return call_(storage_, std::forward<ArgTypes>(args)...);
251
8.58M
  }
ofats::any_detail::any_invocable_impl<void, false>::call()
Line
Count
Source
249
20.4k
  R call(ArgTypes... args) noexcept(is_noexcept) {
250
20.4k
    return call_(storage_, std::forward<ArgTypes>(args)...);
251
20.4k
  }
ofats::any_detail::any_invocable_impl<void, false, uWS::Loop*>::call(uWS::Loop*)
Line
Count
Source
249
7.26M
  R call(ArgTypes... args) noexcept(is_noexcept) {
250
7.26M
    return call_(storage_, std::forward<ArgTypes>(args)...);
251
7.26M
  }
Unexecuted instantiation: ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, int>::call(uWS::HttpResponse<false>*, int)
ofats::any_detail::any_invocable_impl<void*, false, void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::call(void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool)
Line
Count
Source
249
15.3k
  R call(ArgTypes... args) noexcept(is_noexcept) {
250
15.3k
    return call_(storage_, std::forward<ArgTypes>(args)...);
251
15.3k
  }
ofats::any_detail::any_invocable_impl<void*, false, void*, uWS::HttpRequest*>::call(void*, uWS::HttpRequest*)
Line
Count
Source
249
230k
  R call(ArgTypes... args) noexcept(is_noexcept) {
250
230k
    return call_(storage_, std::forward<ArgTypes>(args)...);
251
230k
  }
ofats::any_detail::any_invocable_impl<bool, false, uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*>::call(uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*)
Line
Count
Source
249
237k
  R call(ArgTypes... args) noexcept(is_noexcept) {
250
237k
    return call_(storage_, std::forward<ArgTypes>(args)...);
251
237k
  }
Unexecuted instantiation: ofats::any_detail::any_invocable_impl<void, false, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool>::call(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool)
Unexecuted instantiation: ofats::any_detail::any_invocable_impl<bool, false, unsigned long>::call(unsigned long)
ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, uWS::HttpRequest*>::call(uWS::HttpResponse<false>*, uWS::HttpRequest*)
Line
Count
Source
249
237k
  R call(ArgTypes... args) noexcept(is_noexcept) {
250
237k
    return call_(storage_, std::forward<ArgTypes>(args)...);
251
237k
  }
Unexecuted instantiation: ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, int>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::call(uWS::WebSocket<false, true, int>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode)
Unexecuted instantiation: EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, int, int>::call(uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, int, int)
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::call(uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> >)
Line
Count
Source
249
215k
  R call(ArgTypes... args) noexcept(is_noexcept) {
250
215k
    return call_(storage_, std::forward<ArgTypes>(args)...);
251
215k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode>::call(uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode)
Line
Count
Source
249
69.4k
  R call(ArgTypes... args) noexcept(is_noexcept) {
250
69.4k
    return call_(storage_, std::forward<ArgTypes>(args)...);
251
69.4k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> > >::call(uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >)
Line
Count
Source
249
19.0k
  R call(ArgTypes... args) noexcept(is_noexcept) {
250
19.0k
    return call_(storage_, std::forward<ArgTypes>(args)...);
251
19.0k
  }
EpollEchoServer.cpp:ofats::any_detail::any_invocable_impl<void, false, uWS::WebSocket<false, true, test()::PerSocketData>*>::call(uWS::WebSocket<false, true, test()::PerSocketData>*)
Line
Count
Source
249
266k
  R call(ArgTypes... args) noexcept(is_noexcept) {
250
266k
    return call_(storage_, std::forward<ArgTypes>(args)...);
251
266k
  }
Unexecuted instantiation: ofats::any_detail::any_invocable_impl<void, false, uWS::HttpResponse<false>*, uWS::HttpRequest*, us_socket_context_t*>::call(uWS::HttpResponse<false>*, uWS::HttpRequest*, us_socket_context_t*)
ofats::any_detail::any_invocable_impl<void, false, us_listen_socket_t*>::call(us_listen_socket_t*)
Line
Count
Source
249
7.19k
  R call(ArgTypes... args) noexcept(is_noexcept) {
250
7.19k
    return call_(storage_, std::forward<ArgTypes>(args)...);
251
7.19k
  }
252
253
  friend bool operator==(const any_invocable_impl& f, std::nullptr_t) noexcept {
254
    return !f;
255
  }
256
  friend bool operator==(std::nullptr_t, const any_invocable_impl& f) noexcept {
257
    return !f;
258
  }
259
  friend bool operator!=(const any_invocable_impl& f, std::nullptr_t) noexcept {
260
    return static_cast<bool>(f);
261
  }
262
  friend bool operator!=(std::nullptr_t, const any_invocable_impl& f) noexcept {
263
    return static_cast<bool>(f);
264
  }
265
266
  friend void swap(any_invocable_impl& lhs, any_invocable_impl& rhs) noexcept {
267
    lhs.swap(rhs);
268
  }
269
270
 private:
271
  storage storage_;
272
  handle_func handle_ = nullptr;
273
  call_func call_;
274
};
275
276
template <class T>
277
using remove_cvref_t = std::remove_cv_t<std::remove_reference_t<T>>;
278
279
template <class AI, class F, bool noex, class R, class FCall, class... ArgTypes>
280
using can_convert = std::conjunction<
281
    std::negation<std::is_same<remove_cvref_t<F>, AI>>,
282
    std::negation<any_detail::is_in_place_type<remove_cvref_t<F>>>,
283
    std::is_invocable_r<R, FCall, ArgTypes...>,
284
    std::bool_constant<(!noex ||
285
                        std::is_nothrow_invocable_r_v<R, FCall, ArgTypes...>)>,
286
    std::is_constructible<std::decay_t<F>, F>>;
287
288
}  // namespace any_detail
289
290
template <class Signature>
291
class any_invocable;
292
293
#define __OFATS_ANY_INVOCABLE(cv, ref, noex, inv_quals)                        \
294
  template <class R, class... ArgTypes>                                        \
295
  class any_invocable<R(ArgTypes...) cv ref noexcept(noex)>                    \
296
      : public any_detail::any_invocable_impl<R, noex, ArgTypes...> {          \
297
    using base_type = any_detail::any_invocable_impl<R, noex, ArgTypes...>;    \
298
                                                                               \
299
   public:                                                                     \
300
    using base_type::base_type;                                                \
301
                                                                               \
302
    template <                                                                 \
303
        class F,                                                               \
304
        class = std::enable_if_t<any_detail::can_convert<                      \
305
            any_invocable, F, noex, R, F inv_quals, ArgTypes...>::value>>      \
306
1.11M
    any_invocable(F&& f) {                                                     \
307
1.11M
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
1.11M
    }                                                                          \
ofats::any_invocable<void* (void*, uWS::HttpRequest*)>::any_invocable<uWS::HttpContext<false>::init()::{lambda(us_socket_t*, char*, int)#1}::operator()(us_socket_t*, char*, int) const::{lambda(void*, uWS::HttpRequest*)#1}, void>(uWS::HttpContext<false>::init()::{lambda(us_socket_t*, char*, int)#1}::operator()(us_socket_t*, char*, int) const::{lambda(void*, uWS::HttpRequest*)#1}&&)
Line
Count
Source
306
468k
    any_invocable(F&& f) {                                                     \
307
468k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
468k
    }                                                                          \
ofats::any_invocable<void* (void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool)>::any_invocable<uWS::HttpContext<false>::init()::{lambda(us_socket_t*, char*, int)#1}::operator()(us_socket_t*, char*, int) const::{lambda(void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool)#1}, void>(uWS::HttpContext<false>::init()::{lambda(us_socket_t*, char*, int)#1}::operator()(us_socket_t*, char*, int) const::{lambda(void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool)#1}&&)
Line
Count
Source
306
468k
    any_invocable(F&& f) {                                                     \
307
468k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
468k
    }                                                                          \
Unexecuted instantiation: ofats::any_invocable<bool (unsigned long)>::any_invocable<uWS::HttpResponseData<false>::callOnWritable(unsigned long)::{lambda(unsigned long)#1}, void>(uWS::HttpResponseData<false>::callOnWritable(unsigned long)::{lambda(unsigned long)#1}&&)
ofats::any_invocable<bool (uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*)>::any_invocable<uWS::HttpContext<false>::onHttp(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, ofats::any_invocable<void (uWS::HttpResponse<false>*, uWS::HttpRequest*)>&&, bool)::{lambda(auto:1*)#1}, void>(uWS::HttpContext<false>::onHttp(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, ofats::any_invocable<void (uWS::HttpResponse<false>*, uWS::HttpRequest*)>&&, bool)::{lambda(auto:1*)#1}&&)
Line
Count
Source
306
21.5k
    any_invocable(F&& f) {                                                     \
307
21.5k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
21.5k
    }                                                                          \
ofats::any_invocable<void (uWS::HttpResponse<false>*, uWS::HttpRequest*)>::any_invocable<uWS::TemplatedApp<false>::TemplatedApp(uWS::SocketContextOptions)::{lambda(auto:1*, auto:2*)#1}, void>(uWS::TemplatedApp<false>::TemplatedApp(uWS::SocketContextOptions)::{lambda(auto:1*, auto:2*)#1}&&)
Line
Count
Source
306
7.19k
    any_invocable(F&& f) {                                                     \
307
7.19k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
7.19k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::Loop*)>::any_invocable<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(uWS::Loop*)#1}, void>(uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(uWS::Loop*)#1}&&)
Line
Count
Source
306
7.19k
    any_invocable(F&& f) {                                                     \
307
7.19k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
7.19k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::Loop*)>::any_invocable<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(uWS::Loop*)#2}, void>(uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(uWS::Loop*)#2}&&)
Line
Count
Source
306
7.19k
    any_invocable(F&& f) {                                                     \
307
7.19k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
7.19k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void ()>::any_invocable<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda()#1}, void>(uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda()#1}&&)
Line
Count
Source
306
14.3k
    any_invocable(F&& f) {                                                     \
307
14.3k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
14.3k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::HttpResponse<false>*, uWS::HttpRequest*)>::any_invocable<uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(auto:1*, auto:2*)#1}, void>(uWS::TemplatedApp<false>::ws<test()::PerSocketData>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, uWS::TemplatedApp<false>::WebSocketBehavior<test()::PerSocketData>&&)::{lambda(auto:1*, auto:2*)#1}&&)
Line
Count
Source
306
14.3k
    any_invocable(F&& f) {                                                     \
307
14.3k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
14.3k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::WebSocket<false, true, test()::PerSocketData>*)>::any_invocable<test()::$_0, void>(test()::$_0&&)
Line
Count
Source
306
7.19k
    any_invocable(F&& f) {                                                     \
307
7.19k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
7.19k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode)>::any_invocable<test()::$_1, void>(test()::$_1&&)
Line
Count
Source
306
7.19k
    any_invocable(F&& f) {                                                     \
307
7.19k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
7.19k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::WebSocket<false, true, test()::PerSocketData>*)>::any_invocable<test()::$_2, void>(test()::$_2&&)
Line
Count
Source
306
7.19k
    any_invocable(F&& f) {                                                     \
307
7.19k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
7.19k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >)>::any_invocable<test()::$_3, void>(test()::$_3&&)
Line
Count
Source
306
7.19k
    any_invocable(F&& f) {                                                     \
307
7.19k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
7.19k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >)>::any_invocable<test()::$_4, void>(test()::$_4&&)
Line
Count
Source
306
7.19k
    any_invocable(F&& f) {                                                     \
307
7.19k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
7.19k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> >)>::any_invocable<test()::$_5, void>(test()::$_5&&)
Line
Count
Source
306
7.19k
    any_invocable(F&& f) {                                                     \
307
7.19k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
7.19k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::WebSocket<false, true, test()::PerSocketData>*)>::any_invocable<test()::$_6, void>(test()::$_6&&)
Line
Count
Source
306
7.19k
    any_invocable(F&& f) {                                                     \
307
7.19k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
7.19k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode)>::any_invocable<test()::$_7, void>(test()::$_7&&)
Line
Count
Source
306
7.19k
    any_invocable(F&& f) {                                                     \
307
7.19k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
7.19k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::WebSocket<false, true, test()::PerSocketData>*)>::any_invocable<test()::$_8, void>(test()::$_8&&)
Line
Count
Source
306
7.19k
    any_invocable(F&& f) {                                                     \
307
7.19k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
7.19k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >)>::any_invocable<test()::$_9, void>(test()::$_9&&)
Line
Count
Source
306
7.19k
    any_invocable(F&& f) {                                                     \
307
7.19k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
7.19k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void ()>::any_invocable<test()::$_9::operator()<uWS::WebSocket<false, true, test()::PerSocketData> >(uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >) const::{lambda()#1}, void>(test()::$_9::operator()<uWS::WebSocket<false, true, test()::PerSocketData> >(uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >) const::{lambda()#1}&&)
Line
Count
Source
306
9.77k
    any_invocable(F&& f) {                                                     \
307
9.77k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
9.77k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >)>::any_invocable<test()::$_10, void>(test()::$_10&&)
Line
Count
Source
306
7.19k
    any_invocable(F&& f) {                                                     \
307
7.19k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
7.19k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> >)>::any_invocable<test()::$_11, void>(test()::$_11&&)
Line
Count
Source
306
7.19k
    any_invocable(F&& f) {                                                     \
307
7.19k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
7.19k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (us_listen_socket_t*)>::any_invocable<test()::$_12, void>(test()::$_12&&)
Line
Count
Source
306
7.19k
    any_invocable(F&& f) {                                                     \
307
7.19k
      base_type::template create<std::decay_t<F>>(std::forward<F>(f));         \
308
7.19k
    }                                                                          \
309
                                                                               \
310
    template <class T, class... Args, class VT = std::decay_t<T>,              \
311
              class = std::enable_if_t<                                        \
312
                  std::is_move_constructible_v<VT> &&                          \
313
                  std::is_constructible_v<VT, Args...> &&                      \
314
                  std::is_invocable_r_v<R, VT inv_quals, ArgTypes...> &&       \
315
                  (!noex || std::is_nothrow_invocable_r_v<R, VT inv_quals,     \
316
                                                          ArgTypes...>)>>      \
317
    explicit any_invocable(std::in_place_type_t<T>, Args&&... args) {          \
318
      base_type::template create<VT>(std::forward<Args>(args)...);             \
319
    }                                                                          \
320
                                                                               \
321
    template <                                                                 \
322
        class T, class U, class... Args, class VT = std::decay_t<T>,           \
323
        class = std::enable_if_t<                                              \
324
            std::is_move_constructible_v<VT> &&                                \
325
            std::is_constructible_v<VT, std::initializer_list<U>&, Args...> && \
326
            std::is_invocable_r_v<R, VT inv_quals, ArgTypes...> &&             \
327
            (!noex ||                                                          \
328
             std::is_nothrow_invocable_r_v<R, VT inv_quals, ArgTypes...>)>>    \
329
    explicit any_invocable(std::in_place_type_t<T>,                            \
330
                           std::initializer_list<U> il, Args&&... args) {      \
331
      base_type::template create<VT>(il, std::forward<Args>(args)...);         \
332
    }                                                                          \
333
                                                                               \
334
    template <class F, class FDec = std::decay_t<F>>                           \
335
    std::enable_if_t<!std::is_same_v<FDec, any_invocable> &&                   \
336
                         std::is_move_constructible_v<FDec>,                   \
337
                     any_invocable&>                                           \
338
461k
    operator=(F&& f) {                                                         \
339
461k
      any_invocable{std::forward<F>(f)}.swap(*this);                           \
340
461k
      return *this;                                                            \
341
461k
    }                                                                          \
Unexecuted instantiation: _ZN5ofats13any_invocableIFvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEEbEEaSIDnDnEENS1_9enable_ifIXaantsr3stdE9is_same_vIT0_S7_Esr3stdE23is_move_constructible_vISA_EERS7_E4typeEOT_
Unexecuted instantiation: _ZN5ofats13any_invocableIFbmEEaSIZN3uWS16HttpResponseDataILb0EE14callOnWritableEmEUlmE_S7_EENSt3__19enable_ifIXaantsr3stdE9is_same_vIT0_S2_Esr3stdE23is_move_constructible_vISA_EERS2_E4typeEOT_
_ZN5ofats13any_invocableIFvvEEaSIDnDnEENSt3__19enable_ifIXaantsr3stdE9is_same_vIT0_S2_Esr3stdE23is_move_constructible_vIS6_EERS2_E4typeEOT_
Line
Count
Source
338
230k
    operator=(F&& f) {                                                         \
339
230k
      any_invocable{std::forward<F>(f)}.swap(*this);                           \
340
230k
      return *this;                                                            \
341
230k
    }                                                                          \
_ZN5ofats13any_invocableIFbmEEaSIDnDnEENSt3__19enable_ifIXaantsr3stdE9is_same_vIT0_S2_Esr3stdE23is_move_constructible_vIS6_EERS2_E4typeEOT_
Line
Count
Source
338
230k
    operator=(F&& f) {                                                         \
339
230k
      any_invocable{std::forward<F>(f)}.swap(*this);                           \
340
230k
      return *this;                                                            \
341
230k
    }                                                                          \
342
    template <class F>                                                         \
343
    any_invocable& operator=(std::reference_wrapper<F> f) {                    \
344
      any_invocable{f}.swap(*this);                                            \
345
      return *this;                                                            \
346
    }                                                                          \
347
                                                                               \
348
8.58M
    R operator()(ArgTypes... args) cv ref noexcept(noex) {                     \
349
8.58M
      return base_type::call(std::forward<ArgTypes>(args)...);                 \
350
8.58M
    }                                                                          \
ofats::any_invocable<void ()>::operator()()
Line
Count
Source
348
20.4k
    R operator()(ArgTypes... args) cv ref noexcept(noex) {                     \
349
20.4k
      return base_type::call(std::forward<ArgTypes>(args)...);                 \
350
20.4k
    }                                                                          \
ofats::any_invocable<void (uWS::Loop*)>::operator()(uWS::Loop*)
Line
Count
Source
348
7.26M
    R operator()(ArgTypes... args) cv ref noexcept(noex) {                     \
349
7.26M
      return base_type::call(std::forward<ArgTypes>(args)...);                 \
350
7.26M
    }                                                                          \
Unexecuted instantiation: ofats::any_invocable<void (uWS::HttpResponse<false>*, int)>::operator()(uWS::HttpResponse<false>*, int)
ofats::any_invocable<void* (void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool)>::operator()(void*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool)
Line
Count
Source
348
15.3k
    R operator()(ArgTypes... args) cv ref noexcept(noex) {                     \
349
15.3k
      return base_type::call(std::forward<ArgTypes>(args)...);                 \
350
15.3k
    }                                                                          \
ofats::any_invocable<void* (void*, uWS::HttpRequest*)>::operator()(void*, uWS::HttpRequest*)
Line
Count
Source
348
230k
    R operator()(ArgTypes... args) cv ref noexcept(noex) {                     \
349
230k
      return base_type::call(std::forward<ArgTypes>(args)...);                 \
350
230k
    }                                                                          \
ofats::any_invocable<bool (uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*)>::operator()(uWS::HttpRouter<uWS::HttpContextData<false>::RouterData>*)
Line
Count
Source
348
237k
    R operator()(ArgTypes... args) cv ref noexcept(noex) {                     \
349
237k
      return base_type::call(std::forward<ArgTypes>(args)...);                 \
350
237k
    }                                                                          \
Unexecuted instantiation: ofats::any_invocable<void (std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool)>::operator()(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool)
Unexecuted instantiation: ofats::any_invocable<bool (unsigned long)>::operator()(unsigned long)
ofats::any_invocable<void (uWS::HttpResponse<false>*, uWS::HttpRequest*)>::operator()(uWS::HttpResponse<false>*, uWS::HttpRequest*)
Line
Count
Source
348
237k
    R operator()(ArgTypes... args) cv ref noexcept(noex) {                     \
349
237k
      return base_type::call(std::forward<ArgTypes>(args)...);                 \
350
237k
    }                                                                          \
Unexecuted instantiation: ofats::any_invocable<void (uWS::WebSocket<false, true, int>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode)>::operator()(uWS::WebSocket<false, true, int>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode)
Unexecuted instantiation: EpollEchoServer.cpp:ofats::any_invocable<void (uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, int, int)>::operator()(uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, int, int)
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> >)>::operator()(uWS::WebSocket<false, true, test()::PerSocketData>*, int, std::__1::basic_string_view<char, std::__1::char_traits<char> >)
Line
Count
Source
348
215k
    R operator()(ArgTypes... args) cv ref noexcept(noex) {                     \
349
215k
      return base_type::call(std::forward<ArgTypes>(args)...);                 \
350
215k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode)>::operator()(uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >, uWS::OpCode)
Line
Count
Source
348
69.4k
    R operator()(ArgTypes... args) cv ref noexcept(noex) {                     \
349
69.4k
      return base_type::call(std::forward<ArgTypes>(args)...);                 \
350
69.4k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >)>::operator()(uWS::WebSocket<false, true, test()::PerSocketData>*, std::__1::basic_string_view<char, std::__1::char_traits<char> >)
Line
Count
Source
348
19.0k
    R operator()(ArgTypes... args) cv ref noexcept(noex) {                     \
349
19.0k
      return base_type::call(std::forward<ArgTypes>(args)...);                 \
350
19.0k
    }                                                                          \
EpollEchoServer.cpp:ofats::any_invocable<void (uWS::WebSocket<false, true, test()::PerSocketData>*)>::operator()(uWS::WebSocket<false, true, test()::PerSocketData>*)
Line
Count
Source
348
266k
    R operator()(ArgTypes... args) cv ref noexcept(noex) {                     \
349
266k
      return base_type::call(std::forward<ArgTypes>(args)...);                 \
350
266k
    }                                                                          \
Unexecuted instantiation: ofats::any_invocable<void (uWS::HttpResponse<false>*, uWS::HttpRequest*, us_socket_context_t*)>::operator()(uWS::HttpResponse<false>*, uWS::HttpRequest*, us_socket_context_t*)
ofats::any_invocable<void (us_listen_socket_t*)>::operator()(us_listen_socket_t*)
Line
Count
Source
348
7.19k
    R operator()(ArgTypes... args) cv ref noexcept(noex) {                     \
349
7.19k
      return base_type::call(std::forward<ArgTypes>(args)...);                 \
350
7.19k
    }                                                                          \
351
  };
352
353
// cv -> {`empty`, const}
354
// ref -> {`empty`, &, &&}
355
// noex -> {true, false}
356
// inv_quals -> (is_empty(ref) ? & : ref)
357
__OFATS_ANY_INVOCABLE(, , false, &)               // 000
358
__OFATS_ANY_INVOCABLE(, , true, &)                // 001
359
__OFATS_ANY_INVOCABLE(, &, false, &)              // 010
360
__OFATS_ANY_INVOCABLE(, &, true, &)               // 011
361
__OFATS_ANY_INVOCABLE(, &&, false, &&)            // 020
362
__OFATS_ANY_INVOCABLE(, &&, true, &&)             // 021
363
__OFATS_ANY_INVOCABLE(const, , false, const&)     // 100
364
__OFATS_ANY_INVOCABLE(const, , true, const&)      // 101
365
__OFATS_ANY_INVOCABLE(const, &, false, const&)    // 110
366
__OFATS_ANY_INVOCABLE(const, &, true, const&)     // 111
367
__OFATS_ANY_INVOCABLE(const, &&, false, const&&)  // 120
368
__OFATS_ANY_INVOCABLE(const, &&, true, const&&)   // 121
369
370
#undef __OFATS_ANY_INVOCABLE
371
372
}  // namespace ofats
373
374
/* We, uWebSockets define our own type */
375
namespace uWS {
376
  template <class T>
377
  using MoveOnlyFunction = ofats::any_invocable<T>;
378
}
379
380
#else // !defined(__cpp_lib_move_only_function) || __cpp_lib_move_only_function < 202110L
381
382
namespace uWS {
383
  template <class T>
384
  using MoveOnlyFunction = std::move_only_function<T>;
385
}
386
387
#endif
388
389
#endif  // _ANY_INVOKABLE_H_