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
2018-02-14 14:54:32 -06:00

8 lines
170 B
C++

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