Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ogs
ogs
Commits
3a593469
Commit
3a593469
authored
8 years ago
by
Christoph Lehmann
Browse files
Options
Downloads
Patches
Plain Diff
[BL] added comment
parent
7b30b276
No related branches found
No related tags found
1 merge request
!1312
Added a wrapper for std::bind
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
BaseLib/Functional.h
+2
-0
2 additions, 0 deletions
BaseLib/Functional.h
with
2 additions
and
0 deletions
BaseLib/Functional.h
+
2
−
0
View file @
3a593469
...
...
@@ -173,6 +173,8 @@ template <typename Object, typename MethodClass, typename ReturnType,
typename
...
Args
>
typename
std
::
enable_if
<
std
::
is_same
<
MethodClass
,
/* Note: All of remove_cv, remove_pointer and decay is
* necessary, e.g. if method is a member function pointer. */
typename
std
::
remove_cv
<
typename
std
::
remove_pointer
<
typename
std
::
decay
<
Object
>::
type
>::
type
>::
type
>::
value
,
std
::
function
<
ReturnType
(
Args
...)
>>::
type
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment