netgen/libsrc/core/ngcore.hpp

36 lines
719 B
C++
Raw Normal View History

2018-11-29 22:35:30 +05:00
#ifndef NG_CORE_HPP
#define NG_CORE_HPP
// std includes
#include <memory>
#include <string>
#include <vector>
#include <map>
#include <iterator>
2018-11-29 22:35:30 +05:00
#include <type_traits>
#include <functional>
#include <stdexcept>
#include <iostream>
#include <fstream>
#include <cstring>
#include <complex>
namespace ngcore
{
2018-11-29 22:35:30 +05:00
#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
}
2018-11-29 22:35:30 +05:00
// own includes
2018-12-06 21:53:44 +05:00
#include "type_traits.hpp"
2018-11-29 22:35:30 +05:00
#include "basearchive.hpp"
#include "version.hpp"
2018-11-29 22:35:30 +05:00
#include "archive.hpp"
#endif // NG_CORE_HPP