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>
-prefix_ void senf::VectorParser<ElementParser,AuxPolicy>::push_back_space(size_type n)
+prefix_ typename senf::VectorParser<ElementParser,AuxPolicy>::value_type
+senf::VectorParser<ElementParser,AuxPolicy>::push_back_space(size_type n)
const
{
container c (*this);
- c.push_back_space(n);
+ return c.push_back_space(n);
}
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>
-prefix_ void senf::VectorParser<ElementParser,AuxPolicy>::push_front_space(size_type n)
+prefix_ typename senf::VectorParser<ElementParser,AuxPolicy>::value_type
+senf::VectorParser<ElementParser,AuxPolicy>::push_front_space(size_type n)
const
{
container c (*this);
- c.push_front_space(n);
+ return c.push_front_space(n);
}
template <class ElementParser, class AuxPolicy>
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>
-prefix_ void senf::VectorParser_Container<ElementParser,AuxPolicy>::push_back_space(size_type n)
+prefix_ typename senf::VectorParser_Container<ElementParser,AuxPolicy>::value_type
+senf::VectorParser_Container<ElementParser,AuxPolicy>::push_back_space(size_type n)
{
- shift(end(),n);
+ return *shift(end(),n);
}
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);
}
template <class ElementParser, class AuxPolicy>
-prefix_ void senf::VectorParser_Container<ElementParser,AuxPolicy>::push_front_space(size_type n)
+prefix_ typename senf::VectorParser_Container<ElementParser,AuxPolicy>::value_type
+senf::VectorParser_Container<ElementParser,AuxPolicy>::push_front_space(size_type n)
{
- shift(begin(),n);
+ return *shift(begin(),n);
}
// Parser interface