mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-31 20:04:29 +02:00
worked around noexcept forbidding in function typedefs
This commit is contained in:
@@ -9,11 +9,13 @@
|
|||||||
using boost::unordered::detail::foa::takes_arg_as_const_reference;
|
using boost::unordered::detail::foa::takes_arg_as_const_reference;
|
||||||
|
|
||||||
using f1 = void ( const int& );
|
using f1 = void ( const int& );
|
||||||
using f2 = void ( const int& ) noexcept;
|
void function2( const int& ) noexcept;
|
||||||
|
using f2 = decltype(function2);
|
||||||
using f3 = void ( const int&, char* );
|
using f3 = void ( const int&, char* );
|
||||||
using f4 = void ( const int&, ... );
|
using f4 = void ( const int&, ... );
|
||||||
using f5 = void ( int& );
|
using f5 = void ( int& );
|
||||||
using f6 = void ( int& ) noexcept;
|
void function6( int& ) noexcept;
|
||||||
|
using f6 = decltype(function6);
|
||||||
using f7 = void ( int&, char* );
|
using f7 = void ( int&, char* );
|
||||||
using f8 = void ( int&, ... );
|
using f8 = void ( int&, ... );
|
||||||
struct f9 { void operator()( const int& ); };
|
struct f9 { void operator()( const int& ); };
|
||||||
|
Reference in New Issue
Block a user