ALPSCore reference
Main Page
Related Pages
Classes
Files
File List
File Members
alps
type_traits
are_all_integrals.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1998-2018 ALPS Collaboration. See COPYRIGHT.TXT
3
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
4
* For use in publications, see ACKNOWLEDGE.TXT
5
*/
6
//
7
// Created by Sergei on 2/22/18.
8
//
9
10
#ifndef ALPSCORE_ARE_ALL_INTEGRALS_H
11
#define ALPSCORE_ARE_ALL_INTEGRALS_H
12
13
#include <type_traits>
14
15
template
<
typename
I0,
typename
... I>
struct
are_all_integrals
:
16
std::integral_constant<bool, std::is_integral<I0>::value && are_all_integrals<I...>::value>
17
{};
18
template
<
typename
I0>
struct
are_all_integrals
<I0> : std::is_integral<I0> {};
19
20
#endif //ALPSCORE_ARE_ALL_INTEGERS_H
are_all_integrals
Definition:
are_all_integrals.hpp:15
Generated on Sun Oct 14 2018 12:18:30 for ALPSCore reference by
1.8.11