mirror of
https://github.com/boostorg/lambda2.git
synced 2025-05-12 14:11:40 +00:00
Add BOOST_LAMBDA2_VERSION
This commit is contained in:
parent
6ac67c631c
commit
ee939bb5ac
@ -9,6 +9,10 @@
|
|||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
// Same format as BOOST_VERSION:
|
||||||
|
// major * 100000 + minor * 100 + patch
|
||||||
|
#define BOOST_LAMBDA2_VERSION 107700
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
namespace lambda2
|
namespace lambda2
|
||||||
|
@ -16,5 +16,5 @@ project : requirements
|
|||||||
<toolset>gcc:<warnings-as-errors>on ;
|
<toolset>gcc:<warnings-as-errors>on ;
|
||||||
|
|
||||||
run quick.cpp ;
|
run quick.cpp ;
|
||||||
|
|
||||||
run lambda2_test.cpp ;
|
run lambda2_test.cpp ;
|
||||||
|
run version.cpp ;
|
||||||
|
13
test/version.cpp
Normal file
13
test/version.cpp
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
// Copyright 2021 Peter Dimov
|
||||||
|
// Distributed under the Boost Software License, Version 1.0.
|
||||||
|
// https://www.boost.org/LICENSE_1_0.txt
|
||||||
|
|
||||||
|
#include <boost/lambda2.hpp>
|
||||||
|
#include <boost/version.hpp>
|
||||||
|
#include <boost/core/lightweight_test.hpp>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
BOOST_TEST_EQ( BOOST_LAMBDA2_VERSION, BOOST_VERSION );
|
||||||
|
return boost::report_errors();
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user