Ray Tayek on 11 Jun 2003 12:31:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [ALACPP] boost binding a const ref?


At 02:04 PM 6/2/03 -0700, you wrote:
> So, if I have code that looks like this:
>
> class Foo
> {
>       void doSomething(SomeType const& param)
                         ^^^^^^^^^^^^^^^^^^^^^

Should be "const SomeType& param".

const foo  is the same as foo const. foo const* is not the same as foo *const

---
ray tayek http://tayek.com/ actively seeking mentoring or telecommuting work
vice chair orange county java users group http://www.ocjug.org/
hate spam? http://samspade.org/ssw/

_______________________________________________
alacpp mailing list
alacpp@xxxxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/alacpp