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++ - STL: dmc can't throw range errors?

↑ ↓ ← Arjan Knepper <ask me.to> writes:
__STL_CAN_THROW_RANGE_ERRORS

Since this is not defined in stl_config.h. Cann't dmc really don't 
handle this?

Arjan
May 27 2003
↑ ↓ "Walter" <walter digitalmars.com> writes:
I'm not sure what that is for!

"Arjan Knepper" <ask me.to> wrote in message
news:bavcid$spc$1 digitaldaemon.com...
 __STL_CAN_THROW_RANGE_ERRORS

 Since this is not defined in stl_config.h. Cann't dmc really don't
 handle this?

 Arjan

May 27 2003
↑ ↓ Arjan Knepper <ask me.to> writes:
Check for valid ranges on vector etc. When the index is out of range it 
throws an exception.


Walter wrote:
 I'm not sure what that is for!
 
 "Arjan Knepper" <ask me.to> wrote in message
 news:bavcid$spc$1 digitaldaemon.com...
 
__STL_CAN_THROW_RANGE_ERRORS

Since this is not defined in stl_config.h. Cann't dmc really don't
handle this?

Arjan


May 27 2003
↑ ↓ "Walter" <walter digitalmars.com> writes:
Ok. I don't know why that wouldn't work with dmc.

"Arjan Knepper" <ask me.to> wrote in message
news:bb02ul$11rb$1 digitaldaemon.com...
 Check for valid ranges on vector etc. When the index is out of range it
 throws an exception.


 Walter wrote:
 I'm not sure what that is for!

 "Arjan Knepper" <ask me.to> wrote in message
 news:bavcid$spc$1 digitaldaemon.com...

__STL_CAN_THROW_RANGE_ERRORS

Since this is not defined in stl_config.h. Cann't dmc really don't
handle this?

Arjan



May 28 2003
↑ ↓ Richard Grant <fractal clark.net> writes:
 "Arjan Knepper" <ask me.to> wrote in message
 news:bavcid$spc$1 digitaldaemon.com...

__STL_CAN_THROW_RANGE_ERRORS

Since this is not defined in stl_config.h. Cann't dmc really don't
handle this?




If _STLP_NO_AT_MEMBER_FUNCTION is *not* defined, then _STL_CAN_THROW_RANGE_ERRORS *is* defined. dmc does not define _STLP_NO_AT_MEMBER_FUNCTION, and so _STL_CAN_THROW_RANGE_ERRORS is defined. Richard
May 28 2003
↑ ↓ Arjan Knepper <ask me.to> writes:
Are we talking about the same STL? SGI/STL 3.3? I can't find that define.

Thanks,
Arjan

Richard Grant wrote:
"Arjan Knepper" <ask me.to> wrote in message
news:bavcid$spc$1 digitaldaemon.com...


__STL_CAN_THROW_RANGE_ERRORS

Since this is not defined in stl_config.h. Cann't dmc really don't
handle this?




If _STLP_NO_AT_MEMBER_FUNCTION is *not* defined, then _STL_CAN_THROW_RANGE_ERRORS *is* defined. dmc does not define _STLP_NO_AT_MEMBER_FUNCTION, and so _STL_CAN_THROW_RANGE_ERRORS is defined. Richard

May 29 2003
↑ ↓ Richard Grant <fractal clark.net> writes:
In article <bb4dg9$2vkq$1 digitaldaemon.com>, Arjan Knepper says...
Are we talking about the same STL? SGI/STL 3.3? I can't find that define.

Sorry, no. STLport 4.5.3. Richard
May 29 2003
↑ ↓ → Arjan Knepper <ask me.to> writes:
Nothing to sorry about, I didn't mention it. So I'm the one to blame.

Anyway thanks for you intended help.

Arjan

Richard Grant wrote:
 In article <bb4dg9$2vkq$1 digitaldaemon.com>, Arjan Knepper says...
 
Are we talking about the same STL? SGI/STL 3.3? I can't find that define.

Sorry, no. STLport 4.5.3. Richard

May 29 2003