www.digitalmars.com         C & C++   DMDScript  

c++ - Specialisation bug

reply "Matthew" <matthew.hat stlsoft.dot.org> writes:
Walter

STLSoft has its own char_traits type, and I've recently added some
specialisations, on a function level, to it.

Unfortunately DMC++ reports that the in-class function is invalid because
its already seen a definition outside the class - the specialisation.

Is this something you're aware of? I'm including file, as I haven't time to
prepare an example atm.

Cheers


-- 
Matthew Wilson

STLSoft moderator (http://www.stlsoft.org)
Contributing editor, C/C++ Users Journal
(www.synesis.com.au/articles.html#columns)

"You can tell a Yorkshireman, but you can't tell him much!" -- Uncle Michael

----------------------------------------------------------------------------
---
Dec 29 2003
parent reply "Walter" <walter digitalmars.com> writes:
No, I'm not aware of it.

"Matthew" <matthew.hat stlsoft.dot.org> wrote in message
news:bsop4l$1g7i$1 digitaldaemon.com...
 Walter

 STLSoft has its own char_traits type, and I've recently added some
 specialisations, on a function level, to it.

 Unfortunately DMC++ reports that the in-class function is invalid because
 its already seen a definition outside the class - the specialisation.

 Is this something you're aware of? I'm including file, as I haven't time

 prepare an example atm.

 Cheers


 --
 Matthew Wilson

 STLSoft moderator (http://www.stlsoft.org)
 Contributing editor, C/C++ Users Journal
 (www.synesis.com.au/articles.html#columns)

 "You can tell a Yorkshireman, but you can't tell him much!" -- Uncle

 --------------------------------------------------------------------------

 ---

Jan 01 2004
parent "Matthew" <matthew.hat stlsoft.dot.org> writes:
I've tried to reproduce this but failed, so best to ignore for the moment.
;)

"Walter" <walter digitalmars.com> wrote in message
news:bt27ls$ge$2 digitaldaemon.com...
 No, I'm not aware of it.

 "Matthew" <matthew.hat stlsoft.dot.org> wrote in message
 news:bsop4l$1g7i$1 digitaldaemon.com...
 Walter

 STLSoft has its own char_traits type, and I've recently added some
 specialisations, on a function level, to it.

 Unfortunately DMC++ reports that the in-class function is invalid


 its already seen a definition outside the class - the specialisation.

 Is this something you're aware of? I'm including file, as I haven't time

 prepare an example atm.

 Cheers


 --
 Matthew Wilson

 STLSoft moderator (http://www.stlsoft.org)
 Contributing editor, C/C++ Users Journal
 (www.synesis.com.au/articles.html#columns)

 "You can tell a Yorkshireman, but you can't tell him much!" -- Uncle


-------------------------------------------------------------------------- --
 ---


Jan 21 2004