KTL
shared_fwd.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "type_allocator_fwd.h"
4 
5 #include <atomic>
6 
7 namespace ktl
8 {
9  // Wrapper class for an integer with std::atomic syntax
10  template<typename T>
11  class notomic;
12 
13  // Wrapper class for making allocator ref-counted
14  template<typename Alloc, template<typename> typename Atomic = notomic>
15  class shared;
16 
20  template<typename Alloc>
22 
26  template<typename T, typename Alloc>
28 
32  template<typename T, typename Alloc>
34 }
Definition: shared.h:42
Wrapper class for making an untyped allocator into a typed allocator.
Definition: type_allocator.h:20
Definition: cascading.h:15