mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-04 14:14:09 +00:00
[sprout.array] support for C++14 constexpr
This commit is contained in:
parent
227e7789ec
commit
c40b33067e
34 changed files with 87 additions and 70 deletions
|
@ -18,7 +18,7 @@ namespace sprout {
|
|||
//
|
||||
template<
|
||||
typename InputIterator, typename OutputIterator, typename UnaryOperation,
|
||||
typename sprout::enabler_if<sprout::is_output_iterator<OutputIterator>::value>::type = sprout::enabler
|
||||
typename sprout::enabler_if<sprout::is_iterator_outputable<OutputIterator>::value>::type = sprout::enabler
|
||||
>
|
||||
inline SPROUT_CXX14_CONSTEXPR OutputIterator
|
||||
transform(InputIterator first, InputIterator last, OutputIterator result, UnaryOperation op) {
|
||||
|
@ -29,7 +29,7 @@ namespace sprout {
|
|||
}
|
||||
template<
|
||||
typename InputIterator1, typename InputIterator2, typename OutputIterator, typename BinaryOperation,
|
||||
typename sprout::enabler_if<sprout::is_output_iterator<OutputIterator>::value>::type = sprout::enabler
|
||||
typename sprout::enabler_if<sprout::is_iterator_outputable<OutputIterator>::value>::type = sprout::enabler
|
||||
>
|
||||
inline SPROUT_CXX14_CONSTEXPR OutputIterator
|
||||
transform(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, BinaryOperation op) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue