Browse Source

Using Ruse to make handling function pointers easier

channel
Ludovic 'Archivist' Lagouardette 3 years ago
parent
commit
cebb8aa3d6
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      include/gp/functional/function.hpp

+ 4
- 0
include/gp/functional/function.hpp View File

@ -122,6 +122,10 @@ namespace gp{
); );
} }
function(ret f_ptr(args...))
: function(f_ptr, nullopt)
{}
function(function&& rhs) function(function&& rhs)
: alloc(rhs.alloc) : alloc(rhs.alloc)
, invokator(rhs.invokator) , invokator(rhs.invokator)

Loading…
Cancel
Save