Skip to content

Commit

Permalink
Merge pull request #263 from boostorg/std_features
Browse files Browse the repository at this point in the history
Implement b2 checks for std lib feature macros.
  • Loading branch information
jzmaddock committed Feb 12, 2019
2 parents cdb997e + 4d9e3db commit fb362e6
Show file tree
Hide file tree
Showing 148 changed files with 4,853 additions and 7 deletions.
276 changes: 275 additions & 1 deletion checks/Jamfile.v2

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions checks/std/cpp_aggregate_bases_17.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// This file was automatically generated on Mon Feb 11 18:07:32 2019
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to 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)

// See http://www.boost.org/libs/config for the most recent version.//
// Revision $Id$
//

#ifdef __has_include
#if __has_include(<version>)
#include <version>
#endif
#endif

#ifndef __cpp_aggregate_bases
#error "Macro << __cpp_aggregate_bases is not set"
#endif

#if __cpp_aggregate_bases < 201603
#error "Macro __cpp_aggregate_bases had too low a value"
#endif

int main( int, char *[] )
{
return 0;
}

30 changes: 30 additions & 0 deletions checks/std/cpp_aggregate_nsdmi_14.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// This file was automatically generated on Mon Feb 11 18:07:32 2019
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to 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)

// See http://www.boost.org/libs/config for the most recent version.//
// Revision $Id$
//

#ifdef __has_include
#if __has_include(<version>)
#include <version>
#endif
#endif

#ifndef __cpp_aggregate_nsdmi
#error "Macro << __cpp_aggregate_nsdmi is not set"
#endif

#if __cpp_aggregate_nsdmi < 201304
#error "Macro __cpp_aggregate_nsdmi had too low a value"
#endif

int main( int, char *[] )
{
return 0;
}

30 changes: 30 additions & 0 deletions checks/std/cpp_alias_templates_11.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// This file was automatically generated on Mon Feb 11 18:07:32 2019
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to 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)

// See http://www.boost.org/libs/config for the most recent version.//
// Revision $Id$
//

#ifdef __has_include
#if __has_include(<version>)
#include <version>
#endif
#endif

#ifndef __cpp_alias_templates
#error "Macro << __cpp_alias_templates is not set"
#endif

#if __cpp_alias_templates < 200704
#error "Macro __cpp_alias_templates had too low a value"
#endif

int main( int, char *[] )
{
return 0;
}

30 changes: 30 additions & 0 deletions checks/std/cpp_aligned_new_17.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// This file was automatically generated on Mon Feb 11 18:07:32 2019
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to 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)

// See http://www.boost.org/libs/config for the most recent version.//
// Revision $Id$
//

#ifdef __has_include
#if __has_include(<version>)
#include <version>
#endif
#endif

#ifndef __cpp_aligned_new
#error "Macro << __cpp_aligned_new is not set"
#endif

#if __cpp_aligned_new < 201606
#error "Macro __cpp_aligned_new had too low a value"
#endif

int main( int, char *[] )
{
return 0;
}

30 changes: 30 additions & 0 deletions checks/std/cpp_attributes_11.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// This file was automatically generated on Mon Feb 11 18:07:32 2019
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to 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)

// See http://www.boost.org/libs/config for the most recent version.//
// Revision $Id$
//

#ifdef __has_include
#if __has_include(<version>)
#include <version>
#endif
#endif

#ifndef __cpp_attributes
#error "Macro << __cpp_attributes is not set"
#endif

#if __cpp_attributes < 200809
#error "Macro __cpp_attributes had too low a value"
#endif

int main( int, char *[] )
{
return 0;
}

30 changes: 30 additions & 0 deletions checks/std/cpp_binary_literals_14.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// This file was automatically generated on Mon Feb 11 18:07:32 2019
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to 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)

// See http://www.boost.org/libs/config for the most recent version.//
// Revision $Id$
//

#ifdef __has_include
#if __has_include(<version>)
#include <version>
#endif
#endif

#ifndef __cpp_binary_literals
#error "Macro << __cpp_binary_literals is not set"
#endif

#if __cpp_binary_literals < 201304
#error "Macro __cpp_binary_literals had too low a value"
#endif

int main( int, char *[] )
{
return 0;
}

30 changes: 30 additions & 0 deletions checks/std/cpp_capture_star_this_17.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// This file was automatically generated on Mon Feb 11 18:07:32 2019
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to 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)

// See http://www.boost.org/libs/config for the most recent version.//
// Revision $Id$
//

#ifdef __has_include
#if __has_include(<version>)
#include <version>
#endif
#endif

#ifndef __cpp_capture_star_this
#error "Macro << __cpp_capture_star_this is not set"
#endif

#if __cpp_capture_star_this < 201603
#error "Macro __cpp_capture_star_this had too low a value"
#endif

int main( int, char *[] )
{
return 0;
}

30 changes: 30 additions & 0 deletions checks/std/cpp_char8_t_20.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// This file was automatically generated on Mon Feb 11 18:07:32 2019
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to 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)

// See http://www.boost.org/libs/config for the most recent version.//
// Revision $Id$
//

#ifdef __has_include
#if __has_include(<version>)
#include <version>
#endif
#endif

#ifndef __cpp_char8_t
#error "Macro << __cpp_char8_t is not set"
#endif

#if __cpp_char8_t < 201811
#error "Macro __cpp_char8_t had too low a value"
#endif

int main( int, char *[] )
{
return 0;
}

30 changes: 30 additions & 0 deletions checks/std/cpp_conditional_explicit_20.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// This file was automatically generated on Mon Feb 11 18:07:32 2019
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to 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)

// See http://www.boost.org/libs/config for the most recent version.//
// Revision $Id$
//

#ifdef __has_include
#if __has_include(<version>)
#include <version>
#endif
#endif

#ifndef __cpp_conditional_explicit
#error "Macro << __cpp_conditional_explicit is not set"
#endif

#if __cpp_conditional_explicit < 201806
#error "Macro __cpp_conditional_explicit had too low a value"
#endif

int main( int, char *[] )
{
return 0;
}

30 changes: 30 additions & 0 deletions checks/std/cpp_constexpr_11.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// This file was automatically generated on Mon Feb 11 18:07:32 2019
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to 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)

// See http://www.boost.org/libs/config for the most recent version.//
// Revision $Id$
//

#ifdef __has_include
#if __has_include(<version>)
#include <version>
#endif
#endif

#ifndef __cpp_constexpr
#error "Macro << __cpp_constexpr is not set"
#endif

#if __cpp_constexpr < 200704
#error "Macro __cpp_constexpr had too low a value"
#endif

int main( int, char *[] )
{
return 0;
}

30 changes: 30 additions & 0 deletions checks/std/cpp_constexpr_14.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// This file was automatically generated on Mon Feb 11 18:07:32 2019
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to 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)

// See http://www.boost.org/libs/config for the most recent version.//
// Revision $Id$
//

#ifdef __has_include
#if __has_include(<version>)
#include <version>
#endif
#endif

#ifndef __cpp_constexpr
#error "Macro << __cpp_constexpr is not set"
#endif

#if __cpp_constexpr < 201304
#error "Macro __cpp_constexpr had too low a value"
#endif

int main( int, char *[] )
{
return 0;
}

30 changes: 30 additions & 0 deletions checks/std/cpp_constexpr_17.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// This file was automatically generated on Mon Feb 11 18:07:32 2019
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to 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)

// See http://www.boost.org/libs/config for the most recent version.//
// Revision $Id$
//

#ifdef __has_include
#if __has_include(<version>)
#include <version>
#endif
#endif

#ifndef __cpp_constexpr
#error "Macro << __cpp_constexpr is not set"
#endif

#if __cpp_constexpr < 201603
#error "Macro __cpp_constexpr had too low a value"
#endif

int main( int, char *[] )
{
return 0;
}

Loading

0 comments on commit fb362e6

Please sign in to comment.