Browse Source
Merge pull request #4547 from lioncash/header-concept
common/concepts: Move <type_traits> include out of the Common namespace
pull/15/merge
bunnei
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/common/concepts.h
|
|
|
@ -4,10 +4,10 @@ |
|
|
|
|
|
|
|
#pragma once |
|
|
|
|
|
|
|
namespace Common { |
|
|
|
|
|
|
|
#include <type_traits> |
|
|
|
|
|
|
|
namespace Common { |
|
|
|
|
|
|
|
// Check if type is like an STL container |
|
|
|
template <typename T> |
|
|
|
concept IsSTLContainer = requires(T t) { |
|
|
|
|