DryChem 1.0.0
A generic, compile-time C++ toolbox with no dependencies for the modern computational chemistry project.
Loading...
Searching...
No Matches
pushFrontList.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: pushFrontList.hpp
5// Author: crdrisko
6// Date: 01/10/2021-08:42:06
7// Description: A metafunction for inserting a new element at the front of a compile-time list
8
9#ifndef DRYCHEM_COMMON_UTILITIES_INCLUDE_COMMON_UTILS_META_ALGORITHMS_BASICALGORITHMS_PUSHFRONTLIST_HPP
10#define DRYCHEM_COMMON_UTILITIES_INCLUDE_COMMON_UTILS_META_ALGORITHMS_BASICALGORITHMS_PUSHFRONTLIST_HPP
11
12namespace CppUtils::Meta
13{
21 template<typename List, typename NewElement>
23
25 template<typename List, typename NewElement>
27} // namespace CppUtils::Meta
28
29#endif
Definition frontList.hpp:13
typename push_front_list< List, NewElement >::type push_front_list_t
Convenience variable template for ease-of-use.
Definition pushFrontList.hpp:26
Definition pushFrontList.hpp:22