mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 03:17:15 +02:00
made some lambdas generic (copypaste error)
This commit is contained in:
@ -86,11 +86,11 @@ int main()
|
|||||||
#if !defined(BOOST_NO_CXX14_GENERIC_LAMBDAS)
|
#if !defined(BOOST_NO_CXX14_GENERIC_LAMBDAS)
|
||||||
auto lambda57 = []( const auto& ){};
|
auto lambda57 = []( const auto& ){};
|
||||||
using f57=decltype(lambda57);
|
using f57=decltype(lambda57);
|
||||||
auto lambda58 = [&]( const int& x ) mutable { retrieved = x; };
|
auto lambda58 = [&]( const auto& x ) mutable { retrieved = x; };
|
||||||
using f58=decltype(lambda58);
|
using f58=decltype(lambda58);
|
||||||
auto lambda59 = []( int& ){};
|
auto lambda59 = []( auto& ){};
|
||||||
using f59=decltype(lambda59);
|
using f59=decltype(lambda59);
|
||||||
auto lambda60 = [&]( int& x ) mutable { retrieved = x; };
|
auto lambda60 = [&]( auto& x ) mutable { retrieved = x; };
|
||||||
using f60=decltype(lambda60);
|
using f60=decltype(lambda60);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user