mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
Merge pull request #4547 from lioncash/header-concept
common/concepts: Move <type_traits> include out of the Common namespace
This commit is contained in:
commit
3b8a8cf825
|
@ -4,10 +4,10 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
namespace Common {
|
|
||||||
|
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
|
namespace Common {
|
||||||
|
|
||||||
// Check if type is like an STL container
|
// Check if type is like an STL container
|
||||||
template <typename T>
|
template <typename T>
|
||||||
concept IsSTLContainer = requires(T t) {
|
concept IsSTLContainer = requires(T t) {
|
||||||
|
|
Loading…
Reference in a new issue