Opened 18 years ago

Closed 16 years ago

#327 closed Support Requests (Wont Fix)

isdigit, problem with namespace

Reported by: nobody Owned by: John Maddock
Milestone: Component: regex
Version: None Severity:
Keywords: Cc:

Description

Hi!
In one of my projects I use the regex library, and it 
works great. But unfortunately it seems to mess up my 
namespaces, or something like that.
I included #include "boost/regex.hpp". Using the boost 
library I am to call functions from the std namespace 
(memset, isdigit, ...) like ::isdigit(). Without the 
namespace-operator the compiler seems to have two 
functions called isdigit. Now it happens that I am to use 
another library along with regex (one of my company), 
which uses an isdigit() call (without namespace-
operator), and which i must not alter.
Honestly, I'm a little bit puzzled at all that the regex-
library forces me to use the namespace-operator with 
functions from std-namespace. Is this the way it was 
ment, or did I somethig wrong?
Thanks for your help,
Markus

Change History (1)

comment:1 by John Maddock, 16 years ago

Status: assignedclosed
Logged In: YES 
user_id=14804

This is a known bug in VC6 (and possibly VC7 too) that
handles using declarations incorrectly.

John Maddock
Note: See TracTickets for help on using tickets.