mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-27 06:10:34 +05:00
31 lines
629 B
C++
31 lines
629 B
C++
|
#ifndef NG_CORE_HPP
|
||
|
#define NG_CORE_HPP
|
||
|
|
||
|
// std includes
|
||
|
#include <memory>
|
||
|
#include <string>
|
||
|
#include <vector>
|
||
|
#include <map>
|
||
|
#include <type_traits>
|
||
|
#include <functional>
|
||
|
#include <stdexcept>
|
||
|
#include <iostream>
|
||
|
#include <fstream>
|
||
|
#include <cstring>
|
||
|
#include <complex>
|
||
|
|
||
|
|
||
|
#if defined(__GNUC__)
|
||
|
inline bool likely (bool x) { return __builtin_expect((x), true); }
|
||
|
inline bool unlikely (bool x) { return __builtin_expect((x), false); }
|
||
|
#else
|
||
|
inline bool likely (bool x) { return x; }
|
||
|
inline bool unlikely (bool x) { return x; }
|
||
|
#endif
|
||
|
|
||
|
// own includes
|
||
|
#include "basearchive.hpp"
|
||
|
#include "archive.hpp"
|
||
|
|
||
|
#endif // NG_CORE_HPP
|