Skip to content
  • Stephen Kelly's avatar
    cmAlgorithms: Add cmWrap. · 37b88d34
    Stephen Kelly authored
    Port some existing cmJoin to use it.
    
    cmJoin is cumbersome to use in cases where the objective is to
    somehow 'quote' each item and then join it with a separator.  In that
    case, the joiner string is harder to read and reason about.  cmWrap
    aims to solve that.
    
    Provide an overload taking char wrappers to simplify the case
    of surrounding every element in quotes without needing to escape
    the quote character.
    37b88d34