mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-04 14:14:09 +00:00
rewrite string construction (performance improved)
This commit is contained in:
parent
ece20bf8ef
commit
165b9ee1cd
6 changed files with 48 additions and 68 deletions
|
@ -32,8 +32,8 @@ namespace sprout {
|
|||
}
|
||||
template<typename T, std::size_t N, typename Traits, std::size_t N2>
|
||||
inline SPROUT_CONSTEXPR typename sprout::fixed::result_of::append_back<
|
||||
sprout::basic_string<T, N, Traits>,
|
||||
sprout::basic_string<T, N2 - 1, Traits>
|
||||
sprout::basic_string<T, N, Traits>,
|
||||
sprout::basic_string<T, N2 - 1, Traits>
|
||||
>::type operator+(
|
||||
sprout::basic_string<T, N, Traits> const& lhs,
|
||||
T const (& rhs)[N2]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue