From f4c7401e2c57750c62007c5c1178632beffb7ed6 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Fri, 7 Jan 2022 16:58:31 +0100 Subject: [PATCH] Rename class `concept` to avoid name clash with C++20 `concept` keyword --- doc/example/limitations_template_method.cpp | 4 ++-- doc/limitations.qbk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/example/limitations_template_method.cpp b/doc/example/limitations_template_method.cpp index f03bd8b..598934e 100644 --- a/doc/example/limitations_template_method.cpp +++ b/doc/example/limitations_template_method.cpp @@ -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 > diff --git a/doc/limitations.qbk b/doc/limitations.qbk index f4bce36..19c6294 100644 --- a/doc/limitations.qbk +++ b/doc/limitations.qbk @@ -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]