help-gplusplus
[Top][All Lists]
Advanced

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

const reference question


From: Jeffrey Holle
Subject: const reference question
Date: Fri, 06 Feb 2004 16:42:28 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007

I appears that both "const string&" and "string const&" mean the same thing, at least for gcc v3.3. Is this true? If not, is this a compiler bug? I've defined a method whose definition used the former and the implementation used the later. It compiled fine.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]