 
            
            
            
            
                15 Sep
                
                    2019
                
            
            
                15 Sep
                
                '19
                
            
            
            
        
    
                12:41 a.m.
            
        On Sat, Sep 14, 2019 at 7:13 PM Vinnie Falco <vinnie.falco@gmail.com> wrote:
On Sat, Sep 14, 2019 at 2:21 PM Roberto Hinz via Boost <boost@lists.boost.org> wrote:
Perhaps we could do as Vinnie said, but just name the function as `terminate()` instead of `c_str()`.
Would this be OK?
template <std::size_t N> class static_string { mutable char buf_[N+1]; public: ... char const* c_str() const noexcept { buf_[size()] = '\0'; return buf_; } };
This is OK to me.