2
0
mirror of https://github.com/boostorg/hof.git synced 2026-01-20 16:42:14 +00:00
Files
hof/test/static.cpp
2016-01-18 08:05:51 -06:00

19 lines
383 B
C++

#include <fit/static.hpp>
#include "test.hpp"
// TODO: Test infix
static constexpr fit::static_<binary_class> binary_static = {};
static constexpr fit::static_<void_class> void_static = {};
static constexpr fit::static_<mono_class> mono_static = {};
FIT_TEST_CASE()
{
void_static(1);
FIT_TEST_CHECK(3 == binary_static(1, 2));
FIT_TEST_CHECK(3 == mono_static(2));
}