Re: ver. 4.0 std include files type conflict
- Posted by jeremy (admin) Mar 18, 2009
- 835 views
There are other conflicts, such as new in regex.e, pcre.e, stack.e and map.e. There are conflicts with some internal methods as well, for instance, regex.e's find().
With the new standard library, there are over 600 public symbols now. It's impossible to make each one have a clean API and not have a conflict with another. For this reason, namespaces were created:
include regex.e as re include pcre.e as pcre include stack.e as st include map.e as m m:new() st:new() pcre:new() re:new()
They all live together peacefully.
Jeremy