|
@ -1357,6 +1357,9 @@ template<typename T> template<template<typename> class R> const R<T> &Jupiter::R |
|
|
|
|
|
|
|
|
template<typename T> template<template<typename> class R> inline typename Jupiter::Readable_String<T>::TokenizeResult<R> &Jupiter::Readable_String<T>::TokenizeResult<R>::operator=(typename const Jupiter::Readable_String<T>::TokenizeResult<R> &right) |
|
|
template<typename T> template<template<typename> class R> inline typename Jupiter::Readable_String<T>::TokenizeResult<R> &Jupiter::Readable_String<T>::TokenizeResult<R>::operator=(typename const Jupiter::Readable_String<T>::TokenizeResult<R> &right) |
|
|
{ |
|
|
{ |
|
|
|
|
|
if (Jupiter::Readable_String<T>::TokenizeResult<R>::tokens != nullptr) |
|
|
|
|
|
delete[] Jupiter::Readable_String<T>::TokenizeResult<R>::tokens; |
|
|
|
|
|
|
|
|
Jupiter::Readable_String<T>::TokenizeResult<R>::tokens = new R<T>[source.token_count]; |
|
|
Jupiter::Readable_String<T>::TokenizeResult<R>::tokens = new R<T>[source.token_count]; |
|
|
Jupiter::Readable_String<T>::TokenizeResult<R>::token_count = 0; |
|
|
Jupiter::Readable_String<T>::TokenizeResult<R>::token_count = 0; |
|
|
while (Jupiter::Readable_String<T>::TokenizeResult<R>::token_count != source.token_count) |
|
|
while (Jupiter::Readable_String<T>::TokenizeResult<R>::token_count != source.token_count) |
|
@ -1369,6 +1372,9 @@ template<typename T> template<template<typename> class R> inline typename Jupite |
|
|
|
|
|
|
|
|
template<typename T> template<template<typename> class R> inline typename Jupiter::Readable_String<T>::TokenizeResult<R> &Jupiter::Readable_String<T>::TokenizeResult<R>::operator=(typename Jupiter::Readable_String<T>::TokenizeResult<R> &&right) |
|
|
template<typename T> template<template<typename> class R> inline typename Jupiter::Readable_String<T>::TokenizeResult<R> &Jupiter::Readable_String<T>::TokenizeResult<R>::operator=(typename Jupiter::Readable_String<T>::TokenizeResult<R> &&right) |
|
|
{ |
|
|
{ |
|
|
|
|
|
if (Jupiter::Readable_String<T>::TokenizeResult<R>::tokens != nullptr) |
|
|
|
|
|
delete[] Jupiter::Readable_String<T>::TokenizeResult<R>::tokens; |
|
|
|
|
|
|
|
|
Jupiter::Readable_String<T>::TokenizeResult<R>::tokens = source.tokens; |
|
|
Jupiter::Readable_String<T>::TokenizeResult<R>::tokens = source.tokens; |
|
|
Jupiter::Readable_String<T>::TokenizeResult<R>::token_count = source.token_count; |
|
|
Jupiter::Readable_String<T>::TokenizeResult<R>::token_count = source.token_count; |
|
|
source.tokens = nullptr; |
|
|
source.tokens = nullptr; |
|
|