Panda3D
Loading...
Searching...
No Matches
bitMask.cxx
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file bitMask.cxx
10 * @author drose
11 * @date 2000-06-08
12 */
13
14#include "bitMask.h"
15
16template class BitMask<uint16_t, 16>;
17template class BitMask<uint32_t, 32>;
18template class BitMask<uint64_t, 64>;
19
20#if !defined(CPPPARSER) && !defined(__APPLE__)
21#include <type_traits>
22
23static_assert(std::is_literal_type<BitMask16>::value, "BitMask16 is not a literal type");
24static_assert(std::is_literal_type<BitMask32>::value, "BitMask32 is not a literal type");
25static_assert(std::is_literal_type<BitMask64>::value, "BitMask64 is not a literal type");
26#endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A general bitmask class.
Definition bitMask.h:32