DryChem
1.0.0
A generic, compile-time C++ toolbox with no dependencies for the modern computational chemistry project.
Loading...
Searching...
No Matches
isEmpty.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: isEmpty.hpp
5
// Author: crdrisko
6
// Date: 01/21/2021-09:09:49
7
// Description:
8
9
#ifndef ISEMPTY_HPP
10
#define ISEMPTY_HPP
11
12
#include <tuple>
13
#include <utility>
14
15
#include "
common-utils/meta/algorithms/basicAlgorithms/isEmptyList.hpp
"
16
17
namespace
CppUtils::Meta
18
{
22
template
<
typename
... Elements>
23
constexpr
bool
is_empty
(
const
std::tuple<Elements...>&)
24
{
25
return
is_empty_list_v
<std::make_index_sequence<
sizeof
...(Elements)>>;
26
}
27
}
// namespace CppUtils::Meta
28
29
#endif
isEmptyList.hpp
CppUtils::Meta
Definition
frontList.hpp:13
CppUtils::Meta::is_empty_list_v
constexpr bool is_empty_list_v
Convenience variable template for ease-of-use.
Definition
isEmptyList.hpp:29
CppUtils::Meta::is_empty
constexpr bool is_empty(const std::tuple< Elements... > &)
Definition
isEmpty.hpp:23
common-utilities
include
common-utils
meta
types
tuples
tupleAlgorithms
isEmpty.hpp
Generated on Thu Feb 13 2025 11:55:13 for DryChem by
1.13.2