gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-252-gf9a3f78
a Global And Modular Bsm Inference Tool
variadic_functions.hpp File Reference

Variadic utilty functions. More...

#include <iostream>
#include <fstream>
#include <string>
#include <type_traits>
#include <cassert>
#include <map>
#include <unordered_map>
#include <set>
#include <unordered_set>
#include <vector>
#include <list>
#include <forward_list>
#include <deque>
#include <array>
Include dependency graph for variadic_functions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Gambit::div_ints_by_half< low, hi >
 
struct  Gambit::remove_all< T >
 
struct  Gambit::__is_container__< T >
 
struct  Gambit::__is_container__< std::vector< T > >
 
struct  Gambit::__is_container__< std::set< T > >
 
struct  Gambit::__is_container__< std::multiset< T > >
 
struct  Gambit::__is_container__< std::map< T1, T2 > >
 
struct  Gambit::__is_container__< std::multimap< T1, T2 > >
 
struct  Gambit::__is_container__< std::unordered_map< T1, T2 > >
 
struct  Gambit::__is_container__< std::unordered_multimap< T1, T2 > >
 
struct  Gambit::__is_container__< std::unordered_set< T > >
 
struct  Gambit::__is_container__< std::unordered_multiset< T > >
 
struct  Gambit::__is_container__< std::deque< T > >
 
struct  Gambit::__is_container__< std::array< T, N > >
 
struct  Gambit::__is_container__< std::list< T > >
 
struct  Gambit::__is_container__< std::forward_list< T > >
 
struct  Gambit::is_container< T >
 
struct  Gambit::__is_vector__< T >
 
struct  Gambit::__is_vector__< std::vector< T > >
 
struct  Gambit::is_vector< T >
 
struct  Gambit::__is_pair__< T >
 
struct  Gambit::__is_pair__< std::pair< T1, T2 > >
 
struct  Gambit::is_pair< T >
 
struct  Gambit::mult_types< args >
 
struct  Gambit::is_same_type_internal< T, type >
 
struct  Gambit::is_same_type_internal< void(T, args...), T >
 
struct  Gambit::is_same_type_internal< void(T, args...), type >
 
struct  Gambit::is_same_type< type, T >
 
struct  Gambit::is_same_type< T, T >
 
struct  Gambit::is_same_type< mult_types< args... >, T >
 
struct  Gambit::is_one_member_internal< type, T >
 
struct  Gambit::is_one_member_internal< type, void(T, args...)>
 
struct  Gambit::is_one_member< type, args >
 
struct  Gambit::is_all_member_internal< type, T >
 
struct  Gambit::is_all_member_internal< type, void(T, args...)>
 
struct  Gambit::is_all_member< type, args >
 
struct  Gambit::is_one_member_vector_internal< T >
 
struct  Gambit::is_one_member_vector_internal< void(std::vector< T >, args...)>
 
struct  Gambit::is_one_member_vector_internal< void(std::vector< T > &, args...)>
 
struct  Gambit::is_one_member_vector_internal< void(const std::vector< T > &, args...)>
 
struct  Gambit::is_one_member_vector_internal< void(T, args...)>
 
struct  Gambit::is_one_member_vector< args >
 
struct  Gambit::is_all_member_vector_internal< T >
 
struct  Gambit::is_all_member_vector_internal< void(std::vector< T >, args...)>
 
struct  Gambit::is_all_member_vector_internal< void(std::vector< T > &, args...)>
 
struct  Gambit::is_all_member_vector_internal< void(const std::vector< T > &, args...)>
 
struct  Gambit::is_all_member_vector_internal< void(T, args...)>
 
struct  Gambit::is_all_member_vector< args >
 
struct  Gambit::enable_if_one_member< T, ret, args >
 
struct  Gambit::enable_if_all_member< T, ret, args >
 
struct  Gambit::enable_if_one_member_vector< ret, args >
 
struct  Gambit::enable_if_all_member_vector< ret, args >
 
struct  Gambit::enable_if_not_one_member< T, ret, args >
 
struct  Gambit::enable_if_not_all_member< T, ret, args >
 
struct  Gambit::enable_if_not_one_member_vector< ret, args >
 
struct  Gambit::enable_if_not_all_member_vector< ret, args >
 

Namespaces

 Gambit
 TODO: see if we can use this one:
 

Functions

template<typename T >
std::vector< T > Gambit::initVector (std::vector< T > vector)
 
template<typename T , typename... Args>
std::vector< T > Gambit::initVector (std::vector< T > vector, T value, Args... args)
 
template<typename T , typename U , typename... Args>
std::vector< T > Gambit::initVector (std::vector< T > vector, U value, Args... args)
 
template<typename T , typename... Args>
std::vector< T > Gambit::initVector (T value, Args... args)
 
template<typename T >
std::set< T > Gambit::initSet (std::set< T > set)
 Same as above, but for sets. More...
 
template<typename T , typename... Args>
std::set< T > Gambit::initSet (std::set< T > set, T value, Args... args)
 
template<typename T , typename U , typename... Args>
std::set< T > Gambit::initSet (std::set< T > set, U value, Args... args)
 
template<typename T , typename... Args>
std::set< T > Gambit::initSet (T value, Args... args)
 
const std::string Gambit::stringifyVariadic ()
 
const std::string Gambit::stringifyVariadic (const std::string &str)
 
template<typename... args>
const std::string Gambit::stringifyVariadic (const std::string &str, const args &... strs)
 

Detailed Description

Variadic utilty functions.


Authors (add name and date if you modify):

Author
Gregory Martinez (grego.nosp@m.ry.d.nosp@m.avid..nosp@m.mart.nosp@m.inez@.nosp@m.gmai.nosp@m.l.com)
Date
Feb 2014

Definition in file variadic_functions.hpp.