www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - Specialisation bug

↑ ↓ ← "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
↑ ↓ "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
↑ ↓ → "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