Changeset 89:b4237e424601 in rrlib_util


Ignore:
Timestamp:
06.07.2013 09:56:52 (6 years ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
default
Phase:
public
Message:

Removed redefinition of default argument in Join functions (required for clang to compile)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • join.hpp

    r80 r89  
    9797 
    9898template <typename TIterator> 
    99 inline void Join(TIterator first, TIterator last, std::ostream &destination, const char *delimiter = ", ") 
     99inline void Join(TIterator first, TIterator last, std::ostream &destination, const char *delimiter) 
    100100{ 
    101101  if (first != last) 
     
    106106 
    107107template <typename TContainer> 
    108 inline void Join(TContainer container, std::ostream &destination, const char *delimiter = ", ") 
     108inline void Join(TContainer container, std::ostream &destination, const char *delimiter) 
    109109{ 
    110110  Join(container.begin(), container.end(), destination, delimiter); 
     
    112112 
    113113template <typename TIterator> 
    114 inline const std::string Join(TIterator first, TIterator last, const char *delimiter = ", ") 
     114inline const std::string Join(TIterator first, TIterator last, const char *delimiter) 
    115115{ 
    116116  if (first != last) 
     
    122122 
    123123template <typename TContainer> 
    124 inline const std::string Join(const TContainer &container, const char *delimiter = ", ") 
     124inline const std::string Join(const TContainer &container, const char *delimiter) 
    125125{ 
    126126  return Join(container.begin(), container.end(), delimiter); 
Note: See TracChangeset for help on using the changeset viewer.