ref is distributed under the Boost Software License, version 1.0. (See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
ref is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Boost Software License for more details.
Bytes returns string as byte slice, but without copying the bytes.
This is useless, actually. The returned slice has no capacity and
can not be sub sliced, then using the index on string to access the
bytes works as well.