AimRT/_deps/boost-src/libs/hof/test/fail/rotate_lazy.cpp

15 lines
593 B
C++
Raw Normal View History

2025-01-12 20:40:48 +08:00
/*=============================================================================
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;
}