X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FParseVec.ct;h=4f20faddd7d049a0c78c8bd17944634fbcf2c728;hb=9a988902090d28007578e93bffd809f6bd913155;hp=51ad0be28e767b745c731858cf1c374457d5ed57;hpb=ac6a813d9d99f7add4e13aff7a4bcd314d5604a6;p=senf.git diff --git a/Packets/ParseVec.ct b/Packets/ParseVec.ct index 51ad0be..4f20fad 100644 --- a/Packets/ParseVec.ct +++ b/Packets/ParseVec.ct @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2006 +// Copyright (C) 2006 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) // Kompetenzzentrum fuer Satelitenkommunikation (SatCom) // Stefan Bund @@ -50,7 +50,7 @@ senf::Parse_Vector_wrapper::insert(iterator pos, size_type ix(pos.raw()-container_.begin()); shift(pos,n); typename Container::iterator j (container_.begin()+ix); - for (; n; --n, j+=Parser::bytes()) + for (; n; --n, j+=Parser::bytes()) Parser(j).value(t); } @@ -61,8 +61,9 @@ senf::Parse_Vector_wrapper::insert(iterator pos, InputIterator f, InputIterator l) { - // FIXME: This is HORRIBLY inefficient ... we need to specialize - // for random_aPacketRegistry.ess and forward iterators, where we can count the distance + /** \fixme This might be horribly inefficient ... we need to + specialize for random_access and forward iterators, where we + can count the distance */ size_type ix(pos.raw()-container_.begin()); for (;f!=l;++f) { @@ -77,5 +78,8 @@ senf::Parse_Vector_wrapper::insert(iterator pos, // Local Variables: // mode: c++ +// fill-column: 100 // c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" // End: