User: Baltram

  • Public profile

User profile: Baltram

User info
User name:Baltram
History
Joined:
Number of posts:20
Latest posts:

Avoiding code duplicates in this particular case
[quote]It would be better style to make this function return the value it produced rather than use t...

Avoiding code duplicates in this particular case
[quote]If your function is not modifying its second argument[/quote] Thanks, but actually it is the ...

Avoiding code duplicates in this particular case
[quote]How about you use an iterator instead of a pointer? In that case you could always use the sam...

Avoiding code duplicates in this particular case
[quote]No it isn't. Why do you have 2 functions which are doing the same? Remove the non-const funct...

Avoiding code duplicates in this particular case
Thanks! So it's valid to use const_cast in that case? (I'm just a bit intimidated because I was so...

This user does not accept Private Messages