X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FListParser.hh;h=352d6b1eb03803c44d7ed70a51be1825dc3676b2;hb=4a99bad0289a65567e85cb51bd357a34562b2c04;hp=7986f36f88d16cbad24cb0add2640a16b7b12e4f;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Packets/ListParser.hh b/senf/Packets/ListParser.hh index 7986f36..352d6b1 100644 --- a/senf/Packets/ListParser.hh +++ b/senf/Packets/ListParser.hh @@ -63,7 +63,7 @@ namespace senf { packet_usage_fields_collection. \see - \ref How to access \ref packet_usage_fields_collection + How to access \ref packet_usage_fields_collection \n SENF_PARSER_LIST() macro used to define list fields \n ListParser_Container list container wrapper API \n ExampleListPolicy @@ -101,10 +101,10 @@ namespace senf { value_type front() const; value_type back() const; - template void push_back (Value value, size_type n=1) const; - void push_back_space (size_type n=1) const; - template void push_front (Value value, size_type n=1) const; - void push_front_space (size_type n=1) const; + template void push_back (Value const & value, size_type n=1) const; + value_type push_back_space (size_type n=1) const; + template void push_front (Value const & value, size_type n=1) const; + value_type push_front_space (size_type n=1) const; void resize (size_type n) const; template void resize (size_type n, Value value) const; @@ -183,7 +183,7 @@ namespace senf { ///@{ // All these operations can be quite inefficient depending on the list type - void shift(iterator pos, size_type n=1); + value_type shift(iterator pos, size_type n=1); template void insert(iterator pos, Value const & t); template @@ -200,11 +200,11 @@ namespace senf { void erase(iterator f, iterator l); void clear(); - template void push_back (Value value, size_type n=1); - void push_back_space (size_type n=1); - template void push_front (Value value, size_type n=1); - void push_front_space (size_type n=1); - void resize (size_type n); + template void push_back (Value const & value, size_type n=1); + value_type push_back_space (size_type n=1); + template void push_front (Value const & value, size_type n=1); + value_type push_front_space (size_type n=1); + void resize (size_type n); template void resize (size_type n, Value value); ///@}