JayBeams  0.1
Another project to have fun coding.
init.hpp
Go to the documentation of this file.
1 #ifndef jb_clfft_init_hpp
2 #define jb_clfft_init_hpp
3 
4 #include <clFFT.h>
5 
6 namespace jb {
7 namespace clfft {
8 
9 /**
10  * Wrap clfftPlanHandle objects in a class that can automatically
11  * destroy them.
12  */
13 class init {
14 public:
15  init();
16  ~init() noexcept(false);
17 
18  //@{
19  /**
20  * @name Deleted functions
21  */
22  init(init&&) = delete;
23  init(init const&) = delete;
24  init& operator=(init const&) = delete;
25  //@}
26 };
27 
28 } // namespace clfft
29 } // namespace jb
30 
31 #endif // jb_clfft_init_hpp
Wrap clfftPlanHandle objects in a class that can automatically destroy them.
Definition: init.hpp:13
~init() noexcept(false)
Definition: init.cpp:10
init & operator=(init const &)=delete
The top-level namespace for the JayBeams library.
Definition: as_hhmmss.hpp:7