Commit c9e3dbaa authored by Damien L-G's avatar Damien L-G

Add a note about the deletion of RAII's copy constructor and copy assignment operator

parent 8fc11bcb
......@@ -33,6 +33,8 @@ public:
// NOTE for some reason defining the default constructor degraded performance
// of eval by 15%
static_assert(!std::is_default_constructible<RAII>::value);
// NOTE GSL doesn't provide any way of making a copy of the interpolation
// object nor the evaluation acceleration
RAII(RAII const &) = delete;
RAII &operator=(RAII &) = delete;
RAII(RAII &&o) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment