This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
gplib
Watch
1
Star
1
Fork
0
Code
Issues
8
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Using Ruse to make handling function pointers easier
channel
Ludovic 'Archivist' Lagouardette
3 years ago
parent
6c060051a6
commit
cebb8aa3d6
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
)
:
alloc
(
rhs
.
alloc
)
,
invokator
(
rhs
.
invokator
)
Write
Preview
Loading…
Cancel
Save