mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-09 14:49:53 +08:00
Fix default function templates for C++03
This commit is contained in:
parent
38c07875b7
commit
206c080866
@ -147,7 +147,7 @@ namespace etl
|
||||
///\param first The iterator to the first element.
|
||||
///\param last The iterator to the last element + 1.
|
||||
//*************************************************************************
|
||||
template <typename TIterator>
|
||||
template <typename TIterator, typename etl::enable_if<!etl::is_integral<TIterator>::value, int>::type = 0>
|
||||
string(TIterator first, TIterator last)
|
||||
: istring(reinterpret_cast<value_type*>(&buffer), MAX_SIZE)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user