Blame view

3rdparty/boost_1_81_0/libs/lambda2/test/quick.cpp 277 Bytes
73ef4ff3   Hu Chunming   提交三方库
1
2
3
4
5
6
7
8
9
10
11
  // Copyright 2020, 2022 Peter Dimov
  // Distributed under the Boost Software License, Version 1.0.
  // https://www.boost.org/LICENSE_1_0.txt
  
  #include <boost/lambda2.hpp>
  
  int main()
  {
      using namespace boost::lambda2;
      return (_1 + _2 * _3)( 1, 2, 3) == 1 + 2 * 3? 0: 1;
  }