Skip to content

Commit

Permalink
Add compile test with BOOST_BIND_NO_PLACEHOLDERS defined
Browse files Browse the repository at this point in the history
  • Loading branch information
ashtum committed Nov 16, 2023
1 parent 9f81a46 commit 9d37199
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ run test_rapidxml.cpp ;
run test_info_parser.cpp ;
run test_json_parser.cpp ;
run test_json_parser2.cpp ;
compile test_json_parser3.cpp ;
run test_ini_parser.cpp ;
run test_xml_parser_rapidxml.cpp ;

Expand Down
7 changes: 7 additions & 0 deletions test/test_json_parser3.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#define BOOST_BIND_NO_PLACEHOLDERS
#include <boost/property_tree/json_parser.hpp>

// Must be able to build with BOOST_BIND_NO_PLACEHOLDERS defined
// History: https://github.com/boostorg/property_tree/pull/112#issuecomment-1812867565

int main() {}

0 comments on commit 9d37199

Please sign in to comment.