diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/UNI-64325.cpp')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/UNI-64325.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/UNI-64325.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/UNI-64325.cpp deleted file mode 100644 index c4005d7c..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/UNI-64325.cpp +++ /dev/null @@ -1,13 +0,0 @@ -class function_ref -{ -public: - template<typename CallableT> - function_ref(CallableT &&t) noexcept - : m_Ptr((void *)std::addressof(t)) - , m_ErasedFn([](void *ptr, Args... args) -> ReturnValue - { - // Type erasure lambda: cast ptr back to original type and dispatch the call - return (*reinterpret_cast<std::add_pointer_t<CallableT>>(ptr))(std::forward<Args>(args)...); - }) - {} -}; |