OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
misc.h File Reference
#include <array>
#include <cstdint>
#include <cstring>
#include <deque>
#include <iterator>
#include <list>
#include <map>
#include <set>
#include <string_view>
#include <unordered_set>
#include <vector>
+ Include dependency graph for misc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  shared::PrintContainer< CONTAINER >
struct  shared::is_std_container< CONTAINER >
struct  shared::is_std_container< std::deque< T, A > >
struct  shared::is_std_container< std::list< T, A > >
struct  shared::is_std_container< std::set< T, A > >
struct  shared::is_std_container< std::unordered_set< T, A > >
struct  shared::is_std_container< std::vector< T, A > >
struct  shared::DivUMod




template<typename T >
constexpr T anonymous_namespace{misc.h}::power (T const a, T const n)
template<typename T , size_t... Indices>
constexpr std::array< T,
anonymous_namespace{misc.h}::powersOfImpl (T const a, std::index_sequence< Indices...>)
template<size_t... Indices>
constexpr std::array< double,
anonymous_namespace{misc.h}::inversePowersOfImpl (double const a, std::index_sequence< Indices...>)
template<typename K , typename V >
V & shared::get_from_map (std::map< K, V > &map, const K &key)
template<typename K , typename V >
const V & shared::get_from_map (const std::map< K, V > &map, const K &key)
template<typename T >
size_t shared::appendMove (std::vector< T > &destination, std::vector< T > &source)
template<typename... Ts, typename T >
bool shared::dynamic_castable_to_any (T const *ptr)
template<typename CONTAINER >
PrintContainer< CONTAINER > shared::printContainer (CONTAINER &container)
template<typename OSTREAM , typename CONTAINER >
OSTREAM & shared::operator<< (OSTREAM &os, PrintContainer< CONTAINER > pc)
size_t shared::formatDate (char *buf, size_t const max, int64_t const unixtime)
size_t shared::formatDateTime (char *buf, size_t const max, int64_t const timestamp, int const dimension)
size_t shared::formatHMS (char *buf, size_t const max, int64_t const unixtime)
DivUMod shared::divUMod (int64_t num, int64_t den)
uint64_t shared::unsignedMod (int64_t num, int64_t den)
template<typename T , typename U >
bool shared::contains (const T &container, const U &element)
template<typename... COEFFICIENTS>
constexpr double shared::horner (double const x, double const c0, COEFFICIENTS...c)
double shared::fastAtanh (double const x)
double shared::fastCos (double const x)
double shared::fastCosh (double const x)
double shared::fastSin (double const x)
double shared::fastSinh (double const x)
template<typename T , size_t N>
constexpr std::array< T, N > shared::powersOf (T const a)
template<size_t N>
constexpr std::array< double, N > shared::inversePowersOf (double const a)
double shared::power10 (unsigned const x)
double shared::power10inv (unsigned const x)
template<typename TO , typename FROM >
TO shared::reinterpret_bits (FROM const from)
template<typename... STR>
constexpr std::array
< std::string_view, sizeof...(STR)> 
shared::string_view_array (STR &&...str)