mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Removed an obsolete file that somehow got into the previous master.
This commit is contained in:
parent
c1a5391034
commit
e543cc0646
@ -1,41 +0,0 @@
|
|||||||
/*
|
|
||||||
* Created by Phil on 08/02/2017.
|
|
||||||
*
|
|
||||||
* 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_CATCH_META_HPP_INCLUDED
|
|
||||||
#define TWOBLUECUBES_CATCH_META_HPP_INCLUDED
|
|
||||||
|
|
||||||
#if defined(CATCH_CONFIG_CPP11_TYPE_TRAITS)
|
|
||||||
#include <type_traits>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
namespace Catch {
|
|
||||||
|
|
||||||
#if defined(CATCH_CONFIG_CPP11_TYPE_TRAITS)
|
|
||||||
|
|
||||||
template <class T>
|
|
||||||
using add_lvalue_reference = std::add_lvalue_reference<T>;
|
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
template <typename T>
|
|
||||||
struct add_l_value_reference {
|
|
||||||
typedef T& type;
|
|
||||||
};
|
|
||||||
template <typename T>
|
|
||||||
struct add_l_value_reference<T&> {
|
|
||||||
typedef T& type;
|
|
||||||
};
|
|
||||||
template <typename T>
|
|
||||||
struct add_l_value_reference<T&&> {
|
|
||||||
typedef T& type;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // TWOBLUECUBES_CATCH_META_HPP_INCLUDED
|
|
Loading…
Reference in New Issue
Block a user