www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - memory_mapped_file's char_type

reply Pablo Aguilar <pablo.aguilar gmail.com> writes:
Hi,

Finally back to programming again =D, and while doing so, I came across 
a problem with memory_mapped_file's char_type. Why is it fixed to 
ws_char_a_t?

I couldn't find anything on the WinPSDK that states that only Ansi 
characters can be used, so am I right in guessing it's only an oversight?

No hurry, just asking ;)


Cheers,
Pablo
Dec 27 2006
parent "Matthew" <matthew hat.stlsoft.dot.org> writes:
I take it you mean: "Having to use multibyte on an NT system is inefficient,
as well as being a pain to code to in a UNICODE build."?

If so, I agree.

As it happens, I'm making some mods to the mmf classes (UNIXSTL & WinSTL),
so will try and slip in a fix for that also. ;-)


"Pablo Aguilar" <pablo.aguilar gmail.com> wrote in message
news:emti86$pj9$1 digitaldaemon.com...
 Hi,

 Finally back to programming again =D, and while doing so, I came across
 a problem with memory_mapped_file's char_type. Why is it fixed to
 ws_char_a_t?

 I couldn't find anything on the WinPSDK that states that only Ansi
 characters can be used, so am I right in guessing it's only an oversight?

 No hurry, just asking ;)


 Cheers,
 Pablo

Dec 27 2006