template <class ListPolicy>
template <class Value>
-prefix_ void senf::ListParser<ListPolicy>::push_back(Value value, size_type n)
+prefix_ void senf::ListParser<ListPolicy>::push_back(Value const & value, size_type n)
const
{
container c(*this);
template <class ListPolicy>
template <class Value>
-prefix_ void senf::ListParser<ListPolicy>::push_front(Value value, size_type n)
+prefix_ void senf::ListParser<ListPolicy>::push_front(Value const & value, size_type n)
const
{
container c(*this);
template <class ListPolicy>
template <class Value>
-prefix_ void senf::ListParser_Container<ListPolicy>::push_back(Value value,
+prefix_ void senf::ListParser_Container<ListPolicy>::push_back(Value const & value,
size_type n)
{
insert(end(),n,value);
template <class ListPolicy>
template <class Value>
-prefix_ void senf::ListParser_Container<ListPolicy>::push_front(Value value,
+prefix_ void senf::ListParser_Container<ListPolicy>::push_front(Value const & value,
size_type n)
{
insert(begin(),n,value);
value_type front() const;
value_type back() const;
- template <class Value> void push_back (Value value, size_type n=1) const;
+ template <class Value> void push_back (Value const & value, size_type n=1) const;
void push_back_space (size_type n=1) const;
- template <class Value> void push_front (Value value, size_type n=1) const;
+ template <class Value> void push_front (Value const & value, size_type n=1) const;
void push_front_space (size_type n=1) const;
void resize (size_type n) const;
template <class Value> void resize (size_type n, Value value) const;
void erase(iterator f, iterator l);
void clear();
- template <class Value> void push_back (Value value, size_type n=1);
+ template <class Value> void push_back (Value const & value, size_type n=1);
void push_back_space (size_type n=1);
- template <class Value> void push_front (Value value, size_type n=1);
+ template <class Value> void push_front (Value const & value, size_type n=1);
void push_front_space (size_type n=1);
void resize (size_type n);
template <class Value> void resize (size_type n, Value value);
template <class ElementParser, class AuxPolicy>
template <class Value>
-prefix_ void senf::VectorParser<ElementParser,AuxPolicy>::push_back(Value value, size_type n)
+prefix_ void senf::VectorParser<ElementParser,AuxPolicy>::push_back(Value const & value, size_type n)
const
{
container c (*this);
template <class ElementParser, class AuxPolicy>
template <class Value>
-prefix_ void senf::VectorParser<ElementParser,AuxPolicy>::push_front(Value value, size_type n)
+prefix_ void senf::VectorParser<ElementParser,AuxPolicy>::push_front(Value const & value, size_type n)
const
{
container c (*this);
template <class ElementParser, class AuxPolicy>
template <class Value>
-prefix_ void senf::VectorParser_Container<ElementParser,AuxPolicy>::push_back(Value value,
- size_type n)
+prefix_ void senf::VectorParser_Container<ElementParser,AuxPolicy>::push_back(Value const & value,
+ size_type n)
{
insert(end(),n,value);
}
template <class ElementParser, class AuxPolicy>
template <class Value>
-prefix_ void senf::VectorParser_Container<ElementParser,AuxPolicy>::push_front(Value value,
- size_type n)
+prefix_ void senf::VectorParser_Container<ElementParser,AuxPolicy>::push_front(Value const & value,
+ size_type n)
{
insert(begin(),n,value);
}
// If you need to pass an iterator it is much simpler and cleaner to use the
// 'container' wrapper
- template <class Value> void push_back (Value value, size_type n=1) const;
+ template <class Value> void push_back (Value const & value, size_type n=1) const;
void push_back_space (size_type n=1) const;
- template <class Value> void push_front (Value value, size_type n=1) const;
+ template <class Value> void push_front (Value const & value, size_type n=1) const;
void push_front_space (size_type n=1) const;
void resize (size_type n) const;
template <class Value> void resize (size_type n, Value value) const;
void erase(iterator f, iterator l);
void clear();
- template <class Value> void push_back (Value value, size_type n=1);
+ template <class Value> void push_back (Value const & value, size_type n=1);
void push_back_space (size_type n=1);
- template <class Value> void push_front (Value value, size_type n=1);
+ template <class Value> void push_front (Value const & value, size_type n=1);
void push_front_space (size_type n=1);
void resize (size_type n);
template <class Value> void resize (size_type n, Value value);