Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > I am not sure there are many precedence for capitalized member variables | > in LyX code. | | There are some from which I took example... I think you guys should | agree on coding style guidelines and write a _small_ document with it. | Second step would be to actually use it all through the code ;-)
We have rules and guidelines... you just have to read them. development/Code_rules/ | >> bool erase(iterator start, iterator end) { | >> size_t startpos = std::distance(Container_.begin(), static_cast<base_it>(start)); | >> size_t endpos = std::distance(Container_.begin(), static_cast<base_it>(end)); | >> return erase(startpos, endpos-startpos); | >> } | > const + spacing. | | const? make endpos const. | Thanks for the comments Andre. One question about the spacing: is it | because of your editor or just that you find it easier to read? In my case it is 'easier to read'. -- Lgb