blob: 59c4f4e955a9eaa32f18778ca64b6ff1106d63e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/*=============================================================================
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;
}
|