|
Boost : |
From: SourceForge.net (noreply_at_[hidden])
Date: 2007-03-28 09:50:47
Bugs item #1689911, was opened at 2007-03-28 15:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1689911&group_id=7586
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: regex
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Torsten Will (towi)
Assigned to: John Maddock (johnmaddock)
Summary: Regex for UChar or short on linux-x64
Initial Comment:
On my Linux-x64 machine, where sizeof(wchar_t) is 4 I want to use regex for ICU UnicodeStrings. Or, in fact on zero-terminated UChar* buffers.
But the following code crashes with a "bad_cast" exception:
-----------------------------------
#include <boost/regex/v4/regex.hpp>
typedef unsigned short UChar; // UChar from ICU
typedef boost::basic_regex<UChar> uregex;
int main()
{
UChar ubuf[] = { 'a', 'b', 'c', 0};
uregex re;
re.assign(ubuf);
}
---------------------------------------
boost version is 1.35. g++ is 4.1.2.
tschau, towi.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1689911&group_id=7586
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk