Adobe Source Libraries 2.0.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
enum_ops.hpp
Go to the documentation of this file.
1/*
2 Copyright 2013 Adobe
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5*/
6/**************************************************************************************************/
7
8#ifndef ADOBE_ENUM_OPS_HPP
9#define ADOBE_ENUM_OPS_HPP
10
11#include <stlab/enum_ops.hpp>
12
13/**************************************************************************************************/
14
18
19/**************************************************************************************************/
20
22#define ADOBE_DEFINE_BITSET_OPS(EnumType) auto stlab_enable_bitmask_enum(EnumType)->std::true_type;
23
25#define ADOBE_DEFINE_ARITHMETIC_OPS(EnumType) \
26 auto stlab_enable_arithmetic_enum(EnumType)->std::true_type;
27
28/**************************************************************************************************/
29
30#endif
31
32/**************************************************************************************************/