[boost] Re: Re: [date_time] enabling microsec_clock under C++Builder

2003-03-27 Thread Johan Nilsson
Jeff Garland [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I think this is a good addition, but we should probably make the addition for all Win32 compilers since I think this is actually part of the Win32 api. I agree with that. Would it be better to make it a

[boost] Re: [date_time] enabling microsec_clock under C++Builder

2003-03-27 Thread Johan Nilsson
Russell Hind [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Alisdair Meredith wrote: Russell Hind wrote: I agree with that. Would it be better to make it a millisec_clock, or just use the microsec_clock but the resolution is only milliseconds? WinAPI Note: we can get a

[boost] Re: [date_time] enabling microsec_clock under C++Builder

2003-03-27 Thread Johan Nilsson
Russell Hind [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Johan Nilsson wrote: I might be a bit off here (coming in late into the discussion), but I'd prefer consistency in my code; using microsec_clock for both Windows and Unix code - even if the real 'resolution

[boost] Re: [date_time] enabling microsec_clock under C++Builder

2003-03-27 Thread Johan Nilsson
Russell Hind [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Johan Nilsson wrote: Can these be used to get an actual date/time though? Or just for high resolution timing? I've only had a brief look at them, so will read a bit more. Yes and yes. But the former (using them

[boost] Re: [date_time] enabling microsec_clock under C++Builder

2003-03-27 Thread Johan Nilsson
Russell Hind [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Johan Nilsson wrote: Yes, but why not have both on all platforms? It would make using it cross-platform easier, but you aren't actually getting microsecond information under windows, so if your program relies

[boost] Re: [date_time] enabling microsec_clock under C++Builder

2003-03-27 Thread Johan Nilsson
Russell Hind [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Johan Nilsson wrote: Perhaps, but one should consider that GetSystemTime promises 1ms resolution and delivers 10-15ms (and, IIRC, that GetSystemTimeAsFileTime promises 250ns resolution). The Platform SDK states

[boost] Re: Re: Re: dynamic_void_cast

2002-12-12 Thread Johan Nilsson
Terje Slettebø [EMAIL PROTECTED] wrote in message 082701c2a12f$15c74170$60fb5dd5@pc">news:082701c2a12f$15c74170$60fb5dd5@pc... From: Eric Woodruff [EMAIL PROTECTED] Johan Nilsson [EMAIL PROTECTED] wrote in message at76e1$2ro$[EMAIL PROTECTED]">news:at76e1$2ro$[EMAIL PROTECTE

[boost] Re: Re: dynamic_void_cast

2002-12-11 Thread Johan Nilsson
Eric Woodruff [EMAIL PROTECTED] wrote in message at7kru$5v7$[EMAIL PROTECTED]">news:at7kru$5v7$[EMAIL PROTECTED]... Johan Nilsson [EMAIL PROTECTED] wrote in message at76e1$2ro$[EMAIL PROTECTED]">news:at76e1$2ro$[EMAIL PROTECTED]... Eric Woodruff [EMAIL PROTECTED] wrote in

[boost] dynamic_void_cast

2002-12-10 Thread Johan Nilsson
[I've tried posting this to c.l.c++.m, but to no success. Don't know if it's due to some of the assert code looking like html markup ;-) or whatever. Anyway, I thought this might also be a good forum.] Hi, this is an experiment I just tried out. I've only tried it with VC7, and it doesn't work

[boost] Re: Re: dynamic_void_cast

2002-12-10 Thread Johan Nilsson
Terje Slettebø [EMAIL PROTECTED] wrote in message 00e001c2a04e$92f9c190$60fb5dd5@pc">news:00e001c2a04e$92f9c190$60fb5dd5@pc... From: Johan Nilsson [EMAIL PROTECTED] The hack makes no 'fixed' assumptions on binary object layout, rather, it relies on the fact that any polymorphic

[boost] Re: Re: dynamic_void_cast

2002-12-10 Thread Johan Nilsson
David Abrahams [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Johan Nilsson [EMAIL PROTECTED] writes: David Abrahams [EMAIL PROTECTED] wrote in message A rather lengthy example with no comments or explanatory text describing what it's

[boost] Re: OpenVMS file name compatibility

2002-12-07 Thread Johan Nilsson
David Abrahams [EMAIL PROTECTED] skrev i meddelandet [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Johan Nilsson [EMAIL PROTECTED] writes: [cross-posted, but it seemed appropriate] Hi, just wanted to bring this one up: I've come across some problems putting boost source to an

[boost] Re: Static lookup

2002-12-04 Thread Johan Nilsson
Gennadiy Rozental [EMAIL PROTECTED] wrote in message askekp$fm9$[EMAIL PROTECTED]">news:askekp$fm9$[EMAIL PROTECTED]... Johan Nilsson [EMAIL PROTECTED] wrote in message askatu$v5u$[EMAIL PROTECTED]">news:askatu$v5u$[EMAIL PROTECTED]... Well, [snip] If anyone intere

[boost] Re: Socket Multiplexing

2002-11-27 Thread Johan Nilsson
Darryl Green [EMAIL PROTECTED] skrev i meddelandet [EMAIL PROTECTED]">news:[EMAIL PROTECTED] ... [snip] Note man says regular files - there are lots of interesting special files that don't always report ready - I/O devices, pipes etc. Also, I think it would be a bad idea to assume that