## Class list_of_list

hamigaki::bjam::list_of_list —

string_listのリスト

## Synopsis

    class list_of_list {
    public:
      // types
      typedef string_list       value_type;
      typedef const value_type& const_reference;
      typedef const value_type* const_pointer;
      typedef std::size_t       size_type;

      // construct/copy/destruct
      list_of_list();

      // capacity
      size_type size() const;
      bool empty() const;

      // element access
      const value_type& operator[](size_type) const;

      // modifiers
      void push_back(const value_type&);
      void swap(list_of_list&);
      void clear();

      // additional member functions
      list_of_list& operator+=(const value_type&);
    };

## Description

### `list_of_list` construct/copy/destruct

1.     list_of_list();

### `list_of_list` capacity

1.     size_type size() const;

2.     bool empty() const;

### `list_of_list` element access

1.     const value_type& operator[](size_type n) const;

### `list_of_list` modifiers

1.     void push_back(const value_type& x);

2.     void swap(list_of_list& rhs);

3.     void clear();

### `list_of_list` additional member functions

1.     list_of_list& operator+=(const value_type& x);

| 製作著作 © 2007 Takeshi Mouri