mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-17 18:35:40 +02:00
Made Clara a “Cliche” header, which will be usable independently of Catch.
- This is just a first step. It still has a dependency on catch_text.h, which also needs to be made a Cliche header. - These then need their own homes on GitHub.
This commit is contained in:
@@ -5,11 +5,22 @@
|
||||
* Distributed under 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)
|
||||
*/
|
||||
#ifndef TWOBLUECUBES_CLARA_H_INCLUDED
|
||||
#ifndef CLICHE_CLARA_EMBEDDED_NAMESPACE
|
||||
#ifdef TWOBLUECUBES_CLARA_H_INCLUDED
|
||||
#define TWOBLUECUBES_CLARA_H_ALREADY_INCLUDED
|
||||
#else
|
||||
#define TWOBLUECUBES_CLARA_H_INCLUDED
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef TWOBLUECUBES_CLARA_H_ALREADY_INCLUDED
|
||||
|
||||
#include "catch_text.h" // This will get moved out too
|
||||
|
||||
#ifdef CLICHE_CLARA_EMBEDDED_NAMESPACE
|
||||
namespace CLICHE_CLARA_EMBEDDED_NAMESPACE {
|
||||
#endif
|
||||
|
||||
namespace Clara {
|
||||
namespace Detail {
|
||||
template<typename T> struct RemoveConstRef{ typedef T type; };
|
||||
@@ -582,5 +593,9 @@ namespace Clara {
|
||||
|
||||
} // end namespace Clara
|
||||
|
||||
#ifdef CLICHE_CLARA_EMBEDDED_NAMESPACE
|
||||
} // end embedded namespace
|
||||
#endif
|
||||
|
||||
#endif // TWOBLUECUBES_CLARA_H_ALREAD_INCLUDED
|
||||
|
||||
#endif // TWOBLUECUBES_CLARA_H_INCLUDED
|
||||
|
Reference in New Issue
Block a user