Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[partial] template specialization for a non-member function

0 views
Skip to first unread message

puzzlecracker

unread,
Jan 28, 2009, 11:28:41 AM1/28/09
to
Guys,

would you refresh my memory, before I start a compiler, as to whether
standard supports partial template specialization non-member function?
references would be appreciated too!

Thanks

Victor Bazarov

unread,
Jan 28, 2009, 1:25:48 PM1/28/09
to
puzzlecracker wrote:
> would you refresh my memory, before I start a compiler, as to whether
> standard supports partial template specialization non-member function?

Not AFAIR

> references would be appreciated too!

Chapter 14 in the Standard, somewhere.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask

Noah Roberts

unread,
Jan 28, 2009, 1:52:25 PM1/28/09
to

Before you start a compiler I'd recommend you have the standard on hand
and have it pretty well memorized...at least those sections before the
library description.

James Kanze

unread,
Jan 29, 2009, 4:19:38 AM1/29/09
to
On Jan 28, 7:52 pm, Noah Roberts <n...@nowhere.com> wrote:
> puzzlecracker wrote:

I think (or hope, at least) that he meant "start a compile", and
not "start a compiler"; i.e. that he is going to compile some
code, and not write a compiler. If he's going to write code
using templates, he probably should have read the Josuttis and
Vandevoorte, and have it handy. The standard's not much use in
such cases, however, since it's fairly unreadable, and real
compilers don't always follow it that closely anyway. (The
Josuttis and Vandevoorte is actually exceptional in this regard,
in that it treats both the theory and the practice, making it
quite clear which is which.)

--
James Kanze (GABI Software) email:james...@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34

0 new messages