DryChem 1.0.0
A generic, compile-time C++ toolbox with no dependencies for the modern computational chemistry project.
Loading...
Searching...
No Matches
isEmptyList.hpp
Go to the documentation of this file.
1// Copyright (c) 2020-2025 Cody R. Drisko. All rights reserved.
2// Licensed under the MIT License. See the LICENSE file in the project root for more information.
3//
4// Name: isEmptyList.hpp
5// Author: crdrisko
6// Date: 01/10/2021-08:41:09
7// Description: A metafunction for determining whether a compile-time list is empty
8
9#ifndef DRYCHEM_COMMON_UTILITIES_INCLUDE_COMMON_UTILS_META_ALGORITHMS_BASICALGORITHMS_ISEMPTYLIST_HPP
10#define DRYCHEM_COMMON_UTILITIES_INCLUDE_COMMON_UTILS_META_ALGORITHMS_BASICALGORITHMS_ISEMPTYLIST_HPP
11
12#include <type_traits>
13
14namespace CppUtils::Meta
15{
22 template<typename List>
23 struct is_empty_list : std::false_type
24 {
25 };
26
28 template<typename List>
30} // namespace CppUtils::Meta
31
32#endif
Definition frontList.hpp:13
constexpr bool is_empty_list_v
Convenience variable template for ease-of-use.
Definition isEmptyList.hpp:29
Definition isEmptyList.hpp:24