2
0
mirror of https://github.com/boostorg/hof.git synced 2026-01-21 17:02:28 +00:00
Files
hof/test/fail/always.cpp
2016-09-13 01:04:45 -05:00

8 lines
157 B
C++

#include <fit/always.hpp>
#include <memory>
int main() {
auto f = fit::always(std::unique_ptr<int>{new int(1)});
auto i = f(1, 2, 3);
(void)i;
}