On 16/03/2016 03:19, Stefan Ram wrote:
> Supersedes: <
references-2...@ram.dialup.fu-berlin.de>
> [& --> const &]
>
> Say, someone has never heard of »references«, but now he
> needs to call a function
>
> void f( ::std::string const & s );
>
> . He already knows how to call
>
> void f( ::std::string s );
>
> . What does he need to learn about reference parameters,
> when he wants to learn just enough to be able to /call/
> pre-defined functions with reference parameters, but does
> not need to be able to write such functions himself?
>
> (I want to write a stripped-down version of my introduction
> to references, that contains just what one needs to be able
> to /call/ such functions, not to /write/ them. What do I
> need to teach about references in this case, so that errors
> in the client's code are avoided?)
Your habit of Typing ::std::foo instead of std::foo is both really
annoying and absurd.
/Flibble