SigUtil  0.95
Utility modules for modern C++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
manipulate.hpp File Reference

文字列処理ユーティリティ More...

Go to the source code of this file.

Namespaces

 sig
 
 sig::impl
 

Functions

template<template< class T_, class=std::allocator< T_ >> class CSeq = std::vector, class S = std::string, class TS = impl::string_t<S>>
auto sig::split (S const &src, impl::string_t< S > const &delimiter) -> CSeq< TS >
 文字列(src)をある文字列(delimiter)を目印に分割する More...
 
template<template< class T_, class=std::allocator< T_ >> class CSeq = std::vector>
auto sig::split (char const *const src, char const *const delimiter) -> CSeq< std::string >
 
template<template< class T_, class=std::allocator< T_ >> class CSeq = std::vector>
auto sig::split (wchar_t const *const src, wchar_t const *const delimiter) -> CSeq< std::wstring >
 
template<class It , class S , class OSS >
auto sig::impl::cat_impl (It begin, It end, S const &delimiter, OSS &osstream, std::locale osstream_locale=std::locale("")) -> decltype(osstream.str())
 
template<class C , class CR = typename impl::remove_const_reference<C>::type, class S = typename impl::SStreamSelector<typename impl::container_traits<CR>::value_type>::string>
auto sig::cat (C &&container, typename sig::impl::identity< S >::type const &delimiter, std::locale osstream_locale=std::locale("")) -> S
 コンテナ中の各文字列や数値を結合 More...
 
template<class T , class S = typename impl::SStreamSelector<T>::string>
auto sig::cat (std::initializer_list< T > container, typename sig::impl::identity< S >::type const &delimiter, std::locale osstream_locale=std::locale("")) -> S
 

Detailed Description

文字列処理ユーティリティ

文字列置換

Definition in file manipulate.hpp.