forked from TartanLlama/optional
Misaligned template specifiers
Tried to compile with CLion + CLang + WSL, got error pointing to this place. Looks like a copy-paste error )
This commit is contained in:
@ -66,8 +66,8 @@ namespace tl {
|
|||||||
namespace detail {
|
namespace detail {
|
||||||
template<class T>
|
template<class T>
|
||||||
struct is_trivially_copy_constructible : std::is_trivially_copy_constructible<T>{};
|
struct is_trivially_copy_constructible : std::is_trivially_copy_constructible<T>{};
|
||||||
template<class T, class A>
|
|
||||||
#ifdef _GLIBCXX_VECTOR
|
#ifdef _GLIBCXX_VECTOR
|
||||||
|
template<class T, class A>
|
||||||
struct is_trivially_copy_constructible<std::vector<T,A>>
|
struct is_trivially_copy_constructible<std::vector<T,A>>
|
||||||
: std::is_trivially_copy_constructible<T>{};
|
: std::is_trivially_copy_constructible<T>{};
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user