On Fri, Jan 4, 2013 at 9:51 AM, Kirk, Benjamin (JSC-EG311) <
benjamin.kir...@nasa.gov> wrote:

> On Jan 4, 2013, at 10:41 AM, Cody Permann <codyperm...@gmail.com> wrote:
>
> > Bottom line:  Do any of you have any experience with how widespread and
> reliable the standard regex library is on a wide range of compilers?  Would
> it be worth detecting the presence of this capability inside of libMesh?
>
> I'm not sure how widely spread it is, but a really nice option is to have
> a "hierarchic fallback" implementation like what I've done looking for
> std::thread.
>
> We look for that, fall back to tbb:thread, and then (could but don't
> currently) boost::thread?
>
> IIRC std::regex is basically the same as boost::regex, in which case we
> could create a libMesh::regex which is nothing more than a preferential
> typedef.
>

Yes a very decent idea, however would we attempt to distribute boost::regex
with libMesh?  I haven't looked at it yet, but fear that it might be one of
those features in boost that requires 1 bajillion header files.  If it's
only a few, then this would work nicely. :)

Cody


>
> -Ben
>
>
>
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to