eina-cxx: Add overload for std::nullptr_t to stringview

This commit is contained in:
Felipe Magno de Almeida 2016-06-15 15:47:30 -03:00
parent 0861a8a27d
commit 512fb7f39b
1 changed files with 4 additions and 0 deletions

View File

@ -48,6 +48,10 @@ public:
: _str(c_str), _len(Traits::length(c_str))
{}
basic_string_view(std::nullptr_t)
: _str(NULL), _len(0)
{}
// basic_string_view(CharT const* c_str, size_type len) noexcept
// : _str(c_str), _len(len)
// {}