mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-09-07 18:20:30 -04:00
JAUAudioArcInterpreter, JAUAudioArcLoader (#1917)
* JAUAudioArcInterpreter * JAUAudioArcLoader OK
This commit is contained in:
+15
-1
@@ -3,12 +3,26 @@
|
||||
|
||||
|
||||
namespace std {
|
||||
template<size_t N> class bitset {
|
||||
template<size_t N> class __bitset_base {
|
||||
public:
|
||||
__bitset_base();
|
||||
|
||||
bool test(size_t pos) const;
|
||||
bool any() const;
|
||||
void set(size_t pos, bool val);
|
||||
void reset(size_t pos);
|
||||
private:
|
||||
size_t data[N];
|
||||
};
|
||||
|
||||
template<size_t N> class bitset : private __bitset_base<(N - 1) / sizeof(size_t) + 1> {
|
||||
public:
|
||||
bitset();
|
||||
|
||||
void set(size_t pos, bool val);
|
||||
void reset(size_t pos);
|
||||
bool test(size_t pos) const;
|
||||
bool any() const;
|
||||
};
|
||||
} // namespace std
|
||||
|
||||
|
||||
Reference in New Issue
Block a user