On Aug 11, 2013, at 12:30 PM, Tom Browder wrote:

> I'm working on my C++ auto-man-page generator and need to know the C++
> standard required so I can maybe use more modern features (like
> regex).  I've tried to search in the root of the BRL-CAD tree and in
> the doc subdir for 'std', 'standard', and 'c++' but haven't found
> anything yet (other than C standards).

I love some of the new C++11 features but don't think limiting our portability 
to just the latest gcc, clang, and msvc would be a good idea.  Right now our 
code seems to pretty much assume c++98, maybe c++03, but we do seem to 
intentionally avoid any tr:: interfaces unless they're portably wrapped via 
Boost.

I think our Geometry Engine API (which is intentionally a new C++ API) and 
Geometry Service projects will be able to assume C++11 as it is an overlay in a 
separate checkout / compilation module.

> It looks to  me like the TODO file is ready for such an explicit statement.

We need more data to make a statement.  If we add -std=c++03, do our c++ 
sources compile cleanly on Mac, Linux, and Windows without issue with a default 
configuration?

> P.S.  And how long till we can move beyond C89?

Last I checked, we had not yet attained strict C89, which was the criteria 
before bumping to C99.  We're very close, though.  Probably less than a week's 
worth of work.

Cheers!
Sean


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to