Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
folly
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
folly
Commits
35022f29
Commit
35022f29
authored
Oct 16, 2018
by
Eric Niebler
Committed by
Facebook Github Bot
Oct 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some versions of gcc don't have __has_builtin
fbshipit-source-id: d46faae4572b04c4352b79b18c647a0bce689a66
parent
a05ea8e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
folly/experimental/pushmi/include/pushmi/detail/functional.h
folly/experimental/pushmi/include/pushmi/detail/functional.h
+5
-2
No files found.
folly/experimental/pushmi/include/pushmi/detail/functional.h
View file @
35022f29
...
...
@@ -17,8 +17,11 @@ namespace detail {
struct
placeholder
;
#if (defined(__clang__) || defined(__GNUC__)) &&\
__has_builtin(__type_pack_element)
#ifndef __has_builtin
#define __has_builtin(x) 0
#endif
#if __has_builtin(__type_pack_element)
#define PUSHMI_TYPE_PACK_ELEMENT(...) \
__type_pack_element<__VA_ARGS__>
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment