You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
brigand/test/always.cpp

8 lines
336 B
C++

#include <brigand/functions/lambda/apply.hpp>
#include <brigand/functions/misc/always.hpp>
#include <type_traits>
static_assert( std::is_same<int**&&, brigand::apply<brigand::always<int**&&>,float>>::value, "invalid always");
static_assert( std::is_same<void, brigand::apply<brigand::always<void>,float*&>>::value, "invalid always");