2
0
mirror of https://github.com/boostorg/lambda.git synced 2026-01-20 16:42:16 +00:00
Files
lambda/test/quick.cpp
2021-12-26 16:46:14 +02:00

16 lines
341 B
C++

// Copyright 2021 Peter Dimov
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
#include <boost/lambda/lambda.hpp>
#include <boost/core/lightweight_test.hpp>
int main()
{
using namespace boost::lambda;
BOOST_TEST_EQ( (_1 + _2)(1, 2), 3 );
return boost::report_errors();
}