add namespace internal

This commit is contained in:
Jean-Prost Frédéric 2019-11-23 15:42:58 +01:00
parent 78cfc95ffa
commit 1c3c41f84a

View file

@ -29,9 +29,12 @@ DEALINGS IN THE SOFTWARE.
namespace utf8
{
template<typename T>
namespace internal {
template <typename T>
using Iterator_category = typename std::iterator_traits<T>::iterator_category;
template <typename T>
using Decay = typename std::decay<T>::type;//std::decay_t in c++14
} // namespace internal
} // namespace utf8
#endif // header guard