15 lines
593 B
C++
15 lines
593 B
C++
|
/*=============================================================================
|
||
|
Copyright (c) 2017 Paul Fultz II
|
||
|
rotate_lazy.cpp
|
||
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||
|
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||
|
==============================================================================*/
|
||
|
#include <boost/hof/lazy.hpp>
|
||
|
#include <boost/hof/placeholders.hpp>
|
||
|
#include <boost/hof/rotate.hpp>
|
||
|
|
||
|
int main() {
|
||
|
auto i = (boost::hof::rotate(boost::hof::_1 - boost::hof::_2) * boost::hof::_1)(3, 6);
|
||
|
(void)i;
|
||
|
}
|