mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-04 07:04:39 +00:00
Remove is_specialization
This commit is contained in:
parent
20a7d90abe
commit
b3494a29d6
@ -45,12 +45,6 @@ SOFTWARE.
|
|||||||
namespace argparse {
|
namespace argparse {
|
||||||
|
|
||||||
namespace { // anonymous namespace for helper methods - not visible outside this header file
|
namespace { // anonymous namespace for helper methods - not visible outside this header file
|
||||||
// Some utility structs to check template specialization
|
|
||||||
template<typename Test, template<typename...> class Ref>
|
|
||||||
struct is_specialization : std::false_type {};
|
|
||||||
|
|
||||||
template<template<typename...> class Ref, typename... Args>
|
|
||||||
struct is_specialization<Ref<Args...>, Ref> : std::true_type {};
|
|
||||||
|
|
||||||
template<typename... Ts>
|
template<typename... Ts>
|
||||||
struct is_container_helper {};
|
struct is_container_helper {};
|
||||||
|
Loading…
Reference in New Issue
Block a user