| Home | Libraries | People | FAQ | More

#### ref

Create a `buffer_ref` for `basic_flat_buffer`.

    template<
        class Allocator>
    buffer_ref< basic_flat_buffer< Allocator > >
    ref(
        basic_flat_buffer< Allocator >& buf);
      » more...

Create a `buffer_ref` for `flat_static_buffer`.

    template<
        std::size_t N>
    buffer_ref< flat_static_buffer< N > >
    ref(
        flat_static_buffer< N >& buf);
      » more...

Create a `buffer_ref` for `basic_multi_buffer`.

    template<
        class Allocator>
    buffer_ref< basic_multi_buffer< Allocator > >
    ref(
        basic_multi_buffer< Allocator >& buf);
      » more...

Create a `buffer_ref` for `static_buffer`.

    template<
        std::size_t N>
    buffer_ref< static_buffer< N > >
    ref(
        static_buffer< N >& buf);
      » more...