Boost logo

Boost :

Subject: Re: [boost] Compile Time String in C++14
From: pfultz2 (pfultz2_at_[hidden])
Date: 2014-08-26 12:49:13


> Then you can use `doSomething(LIT("abc"))` in your code.
> What do you think?

I think I'm missing something. Isn't the point of compile-time strings to
parse them or process them at compile-time? The `make_str` is not
`constexpr`
and neither is the lambda. So it can't be passed to a `constexpr` function
nor
can it be passed to template parameter because of the lambda. Unless there
is
something going on that I'm unaware of.

Paul Fultz II

--
View this message in context: http://boost.2283326.n4.nabble.com/Compile-Time-String-in-C-14-tp4666747p4666962.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk