Lunchbox  1.13.0
Multi-threaded C++ toolbox library for all application developers creating high-performance multi-threaded programs.
uint128_t.h
1 
2 /* Copyright (c) 2010, Cedric Stalder <cedric.stalder@gmail.com>
3  * 2010-2014, Stefan Eilemann <eile@eyescale.ch>
4  * 2010-2012, Daniel Nachbaur <danielnachbaur@gmail.com>
5  *
6  * This library is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU Lesser General Public License version 2.1 as published
8  * by the Free Software Foundation.
9  *
10  * This library is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13  * details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with this library; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 
20 #ifndef LUNCHBOX_UINT128_H
21 #define LUNCHBOX_UINT128_H
22 
23 #include <lunchbox/defines.h>
24 
25 #ifdef LUNCHBOX_USE_V1_API
26 # include <servus/uint128_t.h>
27 
28 namespace lunchbox
29 {
30  using servus::uint128_t;
31  using servus::make_uint128;
32  using servus::make_UUID;
33 
34 }
35 #else
36 # error "This header file may not be included in API version 2"
37 #endif
38 
39 #endif // LUNCHBOX_UINT128_H
Includes compile-time defines of Lunchbox.
Abstraction layer and common utilities for multi-threaded programming.
Definition: algorithm.h:32