Rename class concept to avoid name clash with C++20 concept keyword

This commit is contained in:
Alexander Grund 2022-01-07 16:58:31 +01:00
parent 78fa67ecb8
commit f4c7401e2c
No known key found for this signature in database
GPG key ID: AA48A0760367A42B
2 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@
namespace limitations_template_method_problem
{
//[ limitations_template_method_problem
class concept
class concept_class
{
public:
template< typename T >
@ -47,7 +47,7 @@ BOOST_AUTO_TEST_CASE(mocked_templated_methods_are_called)
namespace limitations_template_method_problem_2
{
//[ limitations_template_method_problem_2
class concept
class concept_class
{
public:
template< typename T >

View file

@ -75,7 +75,7 @@ Given :
[limitations_template_method_problem]
writing a mock object modeling 'concept' requires to list all the possible versions of 'method' :
writing a mock object modeling the 'concept class' requires to list all the possible versions of 'method' :
[limitations_template_method_solution]