Merge pull request #2193 from dota17/issue#2059
Fix consistency in function `int_to_string()`
This commit is contained in:
commit
635b9a0ae4
2 changed files with 6 additions and 2 deletions
|
@ -15,7 +15,9 @@ namespace detail
|
|||
template<typename string_type>
|
||||
void int_to_string( string_type& target, std::size_t value )
|
||||
{
|
||||
target = std::to_string(value);
|
||||
// For ADL
|
||||
using std::to_string;
|
||||
target = to_string(value);
|
||||
}
|
||||
template <typename IteratorType> class iteration_proxy_value
|
||||
{
|
||||
|
|
|
@ -3657,7 +3657,9 @@ namespace detail
|
|||
template<typename string_type>
|
||||
void int_to_string( string_type& target, std::size_t value )
|
||||
{
|
||||
target = std::to_string(value);
|
||||
// For ADL
|
||||
using std::to_string;
|
||||
target = to_string(value);
|
||||
}
|
||||
template <typename IteratorType> class iteration_proxy_value
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue