Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pub
Frama Clang
Commits
f243b01e
Commit
f243b01e
authored
Apr 06, 2022
by
Franck Vedrine
Browse files
Revert "Merge branch 'fix/integral_constant' into 'master'"
This reverts merge request
!6
parent
6a4cd7cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/libc++/type_traits
View file @
f243b01e
...
...
@@ -32,13 +32,6 @@ namespace std {
typedef integral_constant<T,v> type;
constexpr operator value_type() const { return value; }
};
// template specialization for bool
template <bool v> struct integral_constant<bool, v> {
static constexpr bool value = v;
typedef bool value_type;
typedef integral_constant<bool,v> type;
constexpr operator bool() const { return value; }
};
template<bool b> struct __boolean: integral_constant<bool, b> { };
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment