« first day (1633 days earlier)      last day (3541 days later) » 

18:03
optional had some problems with constant reference lifetime binding I think
Mmmh things like auto&& i = *make_optional(0); used to work but now they don’t anymore
@rubenvb what is an optimus laptop
NVIDIA® Optimus™ technology intelligently optimizes your notebook PC, providing the outstanding graphics performance you need, when you need it, all the ...
thanks google
@sehe NVIDIA optimus (Intel+NVIDIA GPU)
yeah that.
On Windows you've got a bulky manual switch to turn it on.
Hehe
On linux, Bumblebee (and/or bbswitch, not wure which really does it) turns it on on-demand.
It's brilliant.
18:13
I'm not sure what it would do, but sounds good
but my GPU doesn't support double precision, so now I need to rewrite my benchmark to allow for that :p
struct A { explicit A (A const&); };
struct B { operator A const& (); };
int main () { A x = B {}; } // ill-formed, accepted by clang
how would you describe the above? I feel as if this has been reported before, but I can't find any bug report on the matter
sure, I could just submit it and wait for it to become a duplicate
only notebooks?
18:28
damn, icc also disagrees with gcc (ie. icc follows the behavior of clang), time to put on some coffee and dive into the standard
user3010322
.... Uh.
user3010322
So, I'm in an exam right now.
user3010322
And I finished.... 1h30m before normal.
user3010322
Not sure if I should just wait here and pretend like I need the time
user3010322
Or leave...
18:30
you have internet access
during exams!?
Just leave
user3010322
During this exam. (It's a programming one.)
I was always done almost first.
if you leave now, ppl will freak out, lowers the avg ;)
18:30
If the exam is simple, it's simple.
@Borgleader maybe he wrote a script before that exam that sends those messages at this time, because he can tell the future.
oh, and that :p
that'd be cooler
user3010322
Guess I'll just leave early... it can't hurt me, anyways.
user3010322
Thanks for the advice! o/
18:37
whoa, what I previously wrote seems to be well-formed - it's actually gcc that is doing it wrong
TIL
user1804599
ITT: We model sheets of paper using equations.
in other words struct A { explicit A (A const&); } struct B { operator A const&(); } int main () { A x = B (); } is well-formed. damn, I love learning new stuff
I thought it was const A&
oh god that was horrific, my internet was out for an hour or two!
18:45
@DonLarynx A const& and const A& are equivalent
const from left is the true const way
@Pris agreed, so hard to read the other way around
I agree but I'm wrong
@DonLarynx No, const from left means A const &, not const A&
18:48
const should go on the right for consistency
Okay. I just typed recover source from ccache into google. Guess what happened
people who write const A& should be thrown in jail
you screwed me up because you said 'right for consistency'!
damnit
user1804599
18:49
@sehe You got a list of results.
@райтфолд huh
@райтфолд :D
user1804599
@sehe :D
user1804599
No preprocessor tricks!
It's Apple extension
ah. clang at it; also, it was a lie
18:51
your mum's an Apple extension
Man I wrote this thing but I don't want to write tests because I probably screwed up somewhere. Ugh.
@Pris ....wat....
@DonLarynx Yeah just ignore what I said
's called blocks
user1804599
@CatPlusPlus But it works on Linux!
18:51
@Pris that makes so much sense
@sehe I've developed a feeling of dread any time I feel like I've accomplished something in C++ because there's usually something I've missed or screwed up
So. Stay out of the water. Or have tests up front.
So by not testing to see if its right it can't be wrong :D
It's really like saying "I should wear seatbelts, but I don't dare to because I might get into an accident"
"reference to a constant A" or "reference to an A that is constant"... both read the same to me vOv
18:53
I wonder what the rationale is that copy-initialization having different source type and destination type is allowed to call an explicit constructor (through the use of a user-defined conversion), but when source type is directly equivalent to the destination type it is ill-formed
any ideas?
No its more like saying I don't want to check the answers to these exercise problems I've done because I probably made a mistake and I have to do them over again
@thecoshman it's relevant in the presence of multiple indirections (char const* const, char const* *const etc)
@FilipRoséen-refp well, since B() returns an object of type A, then A x = A_variable should work.
@FilipRoséen-refp perhaps because it's explicit enough to not count as "implicit conversion hazard"
@DonLarynx that's exactly what isn't allowed.
@sehe why do you think that is?
18:55
@FilipRoséen-refp but there's no implicit type conversion.
@DonLarynx read about copy-initialization.
@FilipRoséen-refp because the type is explicitly given in the declaration
@sehe and how is that less of a hazard than A a = A();?
@sehe Then why can’t I std::tuple<int> t = { 1 };?
14 mins ago, by Filip Roséen - refp
in other words struct A { explicit A (A const&); } struct B { operator A const&(); } int main () { A x = B (); } is well-formed. damn, I love learning new stuff
18:57
@LucDanton I don't know. I assumed refp had checked the premise
@FilipRoséen-refp "Prefixing the explicit keyword to the constructor prevents the compiler from using that constructor for implicit conversions."
implicit
@DonLarynx I'm about to ignore you since you obviously have no idea of what you are talking about, it's either that or you haven't read what I've been saying
ITT Don spelling out the basics to refp
lol Filip
you're wrong bro. even sehe thinks so
@LucDanton because of the different rules when it comes to copy-initialization
18:58
@DonLarynx were you doing it on purpose (that's what my teacher used to say)
@sehe this time, i had to point out his error.
troll on :/
I just realized
@DonLarynx I'm not sure he does, but let's ask him: @sehe in what way do you think I'm wrong (if any)?
I'm dominating the favorite today
18:59
None
user1804599
An array can also be used as a tuple of N elements of the same type.
user1804599
TIL
@FilipRoséen-refp Okay, I'll go study some more.
@DonLarynx good luck.
19:00
Herro again I am eating super dinner
@sehe What premise?
I have not slept today yet
user1804599
Ad-hoc polymorphism is awesome.
Cadillac’s CT6 wants to beat its German rivals with lightness and clever tech
@райтфолд why would anyone say that?
19:01
@LightningRacisinObrit working with Cadillac now?
Btw is there anyway to get polymorphism without having to use vtables?
user1804599
@Cinch Yes.
user1804599
For example, with overloading or with templates.
who the heck is this @DonLarynx anyhow?
a troll IIRC
I have him plonked and I usually only plonk cheap trolls
19:05
No but these involve dynamic casts or no?
user1804599
No.
user1804599
They happen at compile-time.
someone should create a resource that lists the rationale behind the quirks of C++.. that'd be sweet
that someone needs to have either a time-machine, mad digging skills, or age to have been around when the rules were written
Sounds like you're volunteering!
I'd love that.
@Pris I might have some digging skills, but it'd be easier with a time-machine or a more appropriate age so that I could have been part of the relevant discussions
19:08
Well I know that templates are compile time I didn't know overloading was
user1804599
Hmm.
user1804599
If I store a pointer to something given as an argument, should I take the argument by const&&?
user1804599
That way it's impossible to pass a temporary.
Mskes sense though. But polymorphism seems a bit weird
no it isn't.
const&& completely accepts a temporary.
19:10
I've never seen const && in the wild
I combined coke and pepsi in the same cup
what you should do is accept const& and then delete &&.
it's not that bad
@Cinch void f(int); template<typename T> void f(T); and f(3); - to know if the template is instantiated you need to do overload resolution.
user1804599
@Puppy huh
user1804599
19:10
how?
Uh isn't Cosby&& a rvalue and therefire susceptible to temps?
@райтфолд Well, for one, it's an rvalue reference.
@AlexM. I'm one of those people that can't tell the difference
so obviously it would accept a temporary.
@LucDanton "that copy-initialization having different source type and destination type is allowed to call an explicit constructor (through the use of a user-defined conversion)"
It looks though that I missed the significance of the last part
user1804599
19:11
Oh wait, I'm confusing it with move constructors.
Hmm. Userscripts don't seem to load when using https.
except you're not
Isn't rvalue=value and rvalue=reference
and rvalue can be "stolen" from
19:12
when did Lounge<C++> turn into a miniature ##c++ (freenode)?
what you did there
I see it
@Cinch a non-const rvalue-reference can be "stolen" from
Mar 30 at 7:50, by Luc Danton
@Rapptz Eternal something or other.
@LightningRacisinObrit Oh I see
@LucDanton lel
19:13
So... What is an const ravlue represent?
this is interesting steamspy.com
nothing useful.
I'll do some more digging on the subject (\cc @sehe, @LucDanton) and post a question on stackoverflow.
Nice. If you're into language lawyering (I know you are)
[28883.577496] Chrome_ChildThr[5142]: segfault at 0 ip 00007f0979ed8005 sp 00007f0963c5f520 error 6 in libmozalloc.so[7f0979ed7000+2000
I just opened up a bunch of relevant content, and everything crashed
stupid shit
now I have to dig the resources up all over again
19:16
doesnt it usually save your tabs if it crashes
@Pris not this time :-/
Also man writing a browser must be like one of the worst software applications to have to work on
@sehe it's both a curse and a blessing
user1804599
why is std::type_index not in <typeinfo> :v
so you'd have to write out <typeindex>
19:18
@FilipRoséen-refp no history even?
@Pris is it there? Also isn't it <type_info>?
@райтфолд Also isn't it <type_info>?
@sehe I don't do browser history, mostly because it forces me to remember where I read good stuff (or bookmark 'em) - weird habbit
user1804599
No.
ISTR this to be a minor annoyance
user1804599
std::type_info is defined in <typeinfo>.
there's no underscore. Also type_index is c++11 iirc
maybe they wanted to separate it because of that?
19:19
I hate how all std headers seemed to be stuck in "use 8 characters or less" pattern, and then suddenly "<initializer_list>" etc.
I swear I should make one of those weight gain fetish stories for C++
It just keeps getting bigger
@FilipRoséen-refp What he's actually saying is so that all those racy sites he visited can't be accidentally looked up by someoen else :p
@Pris good point
@Pris that's just another perk
@райтфолд Then that's precisely the source of my irritation :) The fact that they dropped the underscore made me "presume" it was about keeping it <= 8 characters. But then they went and added much longer header names...
19:22
@sehe Keeping it to <= 8 makes a bunch of stuff incomprehensible. How would you shorten <unordered_map>
I'm so glad that code is more readable these days. Function names like atoi always pissed me off
@Cinch Another keeper
<1ordered>
You can't start names with numbers
But googling atoll at least gives pretty pictures!
3
@Pris you don't say. I take it you didn't actually read my comment
user1804599
19:24
TIL about scoped allocators.
1_1cant tellmewhat2due
due
blargh, honestly this seems to boil down to the simple fact that the standard shouldn't have used "user-defined conversion sequences" but instead "conversion by constructor" in 8.5/17 (n3797) :-/ /cc @sehe @LucDanton
@gha.st Lots of things give pretty pictures when googled :)
user1804599
@Cinch looks kinda like a mangled name.
19:26
@FilipRoséen-refp bah all this standards stuff just isn't fun anymore
Where's the ease?
user1804599
@sehe dat ghast
@Cinch Where's the dis!
Maybe I should switch to the new Objective-COBOL++ language
19:27
copy-initialization T x = y, where x and y are of different types, constructs a temporary T initialized with y and uses this temporary to direct-initialize x; which of course is a very very nice thing, the problem with the wording is that by using "user-defined conversion sequences" "conversion operators" are allowed to have the same behavior
The disgusting "Stench: Living creatures within 10 feet must succeed on a DC 15 Fortitude save or be sickened for 1d6+4 minutes." kind of ghast!
why do I think it's a problem? because things turn bloody weird, semantically
I dont know what you just said. It's lovely
I'm about to formulate a mathematical law for profile picture likes.

On average this holds:

MaleProfilePictureLikes = FemaleProfilePictureLikes / 3
Bah I have class
19:31
@sehe you do?
T x = y being equivalent to T x (T (y)) is great, but that it can also mean T x (y.operator T()) is just weird. sure, operator T are a special thing and shouldn't be treated like just another function, but it shouldn't have been made to be this special.. :(
@Cinch at least you read it, that's a start - you will get it eventually
@райтфолд that function will be abused soooo much
as with many cool things
@FilipRoséen-refp What is actually great about that? E.g. when compared to a T x(y); equivalent + explicit checks?
@LucDanton maybe I should have expressed it as T x = y being equivalent to T x = magic(y) is a good thing, having T magic (T val) { return T(val); }
19:37
Same difference? :)
can anyone explain me what is the return type in this call

PyAPI_FUNC(PyObject *) _PyObject_CallFunction_SizeT(PyObject *callable,
char *format, ...);
@LucDanton what's your question really? I mean sure, I'd prefer if the standard said that T x = y would be equivalent of direct-initialization of x without ever constructing a temporary, but only allowing non-explicit constructors - that rule would be easier
ah nevermind, I see that you wrote exactly that
@LucDanton the great things is that it allows the same thing as what both of us just wrote (just with different wording), the problem is (as said) the wording used to express the rules allowing that to happen
@androidplusios.design uh no?
@FilipRoséen-refp oh that's what you mean
19:41
I remember a lot of confusion in C++03 times regarding copy-init syntax, copy elision and explicit. I’d blame it on the nonsensical spec.
@LucDanton and now that I think about it, the rules of copy-initialization shouldn't be changed to what we propose (because it would make void func (T const&) bloody weird, if there's no temporary created what would the reference bind to?)
@androidplusios.design No, nobody can tell you the return type without seeing the definition of "PyAPI_FUNC".
@FilipRoséen-refp But don’t we have a separate part for ref initialization already?
since we all hate "this applies here, but not here" kind of rules the wording of copy-initialization makes sense, but the problem still lies with "user-defined conversions sequences" vs "converting constructors"
@androidplusios.design we're a c++ room not a c++/python room
19:42
don't explain me the function just tell me the overview of it....
@FilipRoséen-refp Nevermind that, I’m just bouncing off the 'great'.
that does it return a pointer to PYAPI_FUNC ?
@androidplusios.design we dont know because we don't know. Look it up and show us
To me, that looks like a function pointer
19:44
@LucDanton not really, I mean the wording on reference initialization basically jumps back to copy-initialization other forms of initialization (because the reference needs to bind to something) iirc
PyObject is probably some sort of function object
@androidplusios.design It returns whatever type PyAPI_FUNC(pyObject *) expands to. That could be just about anything though.
And for T = U const&, where does your temporary in fact come from if you have T(y)? It’s not like you are creating a U.
okay wait I don't think that's a function pointer
I don't understand what the other two are taking about
@Cinch Probably not.
19:47
@LucDanton struct A { A (int); } having int const& ref = 123; A x = ref boils down to to A __temporary (ref); A x (__temporary);, so I'm not sure what you are getting at?
Something like copy ctor can invoke operator()
@LucDanton and int const& ref = 123 is just int const& ref = int(123) (temporaries all over the place)
but I know you know this, so maybe I'm reading your messages wrong
I don't even
What
most;
certainly
@FilipRoséen-refp That’s different from void func(T const&);, which is what you first mentioned.
(bad reuse of T, oops!)
@FilipRoséen-refp Mmmh, sure, but not as a result of the 'great' spec.
19:49
UE4 has been unresponsive for ~30 mins
still haven't closed because i don't want to possibly lose any work :C
@LucDanton nhaa, it's not - why do you think it is? void func (T const&)` in the precense of T::T(int) where we have func (123) is equivalent to T __temporary (123); func (__temporary);
PyAPI_FUNC(int) also this one? I don't understand those bracket syntax in function....is that PyAPI providing some kind of typecast wrap ? @JerryCoffin
If the spec says 'T x = T(y); takes place' as you put it, then alias<U const&> x = alias<U const&>(y); takes place. If a temporary happens, then we can still use 'T x(y); + forbid explicit stuff' as a spec.
@LucDanton what does this mean or imply
@Cinch No spoonfeeding.
19:51
I'm really trying but in running on 1 hr I'd sleep and I'm in class
ask your professor
@LucDanton but we couldn't use the same wording for initializing a reference, because if we throw away the creation of a temporary there would be nothing the reference could bind to
If I correctly get it you create more references than you need to when you copy reference
@androidplusios.design From the looks of things, PyAPI_FUNC is a macro. It's taking one string (that's apparently supposed to name a type) as input, and producing some other string (that also names a type) as its result. It could, however, do something like creating a struct, with the original type as a member, and possibly some other members to go with it.
@FilipRoséen-refp Wherever the wording of creating a temporary is, it’s not in 'T x = T(y); happens'. Because T would be a reference type.
19:53
@LucDanton what? I don't know what you mean, sorry.
So right now it’s 'great' spec + temporary rules. It could be the other spec + temporary rules.
@LucDanton haha, yes - the spec. is great in regards of what it allows (and that we easily can have one rule depending on another), but it could of course be written differently to have the same semantical effects
@LucDanton my use of "great" was simply to show that I do agree with what the spec. is allowing us to do, and that it's a clean way of expressing things, the "not so great" part is (as said) the use of "user-defined conversion sequences" instead of "converting constructors"
Saying 'T x(y); happens' also defers to another rule or rules. The same one(s), too.
@JerryCoffin i think i got it: https://packagecontrol.io/packages/C%20Improved

Thanks for the help
@LucDanton of course
19:55
@FilipRoséen-refp It’s Stockholm syndrome is what it is! C++ is abusing you!
#ifdef Py_BUILD_CORE
    # define PyAPI_FUNC(RTYPE) RTYPE
#else
    # define PyAPI_FUNC(RTYPE) extern RTYPE
#endif
apparently does very little
@LucDanton ironically I'm from Stockholm. The thing is that I do like certain ways the Standard express things, and what really drives me nuts is the "this applies, but no here, but here, but in a different way, if not here, then it's this, with modification"
Holy smokes
@LucDanton there are many parts of the standard written in that way, but the closer to "this rule builds on this rule" we get - the happier I get ;-)
I forgot about user defined conversion
19:58
@Cinch a user-defined conversion includes both U::operator T and T::T (U), just so you know.. so I reckon you only partly forgot about it
Sep 28 '12 at 1:46, by Luc Danton
Oh boy, 8.5 here we go again.
Oct 16 '14 at 15:27, by Luc Danton
8.5 used to be one of the sections I dreaded.
We’ll put it down as 'mixed feelings'.
@FilipRoséen-refp what is this T::T as in int::int(Foo)?
@Cinch T::T (U) as in std::string::string (char const*)
@FilipRoséen-refp Most of them end up that way because they started with a simple rule. Then when people tried it, they ran into problems, so they added exceptions to the rule. Once they've caught all the exceptions, it usually gets left alone, because there are too many other things to do rather than rewriting that section to clearly express a single rule instead of exceptions.
Oh
But that's just a construct or
20:00
@LucDanton if you wanna write N???? that's "the c++ standard, revisited" where we rewrite everything to actually make sense, I'm down (if you sponsor me with money for rent, smokes, beer, and food.. preferably in that order)
@JerryCoffin agreed
...Can we overload constructors for integral types?
3 hours ago, by Luc Danton
No, not salvage. That’s what you want to do. I want to scavenge it for good parts.
I don’t mind leaving the rest to rot.
@FilipRoséen-refp So I’ll have to pass on your offer, sorry.
@Cinch IOW, he's saying the conversion can be either an overloaded conversion operator, or a constructor that can be invoked with one parameter (of type other than reference to const T, which would be a copy constructor).
20:02
Oh I see
Fun 8.5 fact: the only expression syntax I know that is unambiguously direct-non-list-init is T(args...).
But that's sort of normal?
So he's arguing about semantics of conversion vs construction?
@Cinch am I the "he" in your sentence?
Yes
why isn't #pragma once standard, again?
20:04
@Cinch a "user-defined conversion" includes both struct A { A::A (B const&); and struct B { operator A (); } having A a = B{};, that's what I'm saying
@Cinch He's talking about how construction of an object from an initializer of a different type can involve either using an overloaded constructor or a user-defined conversion operator (and if you used a cast, could even use both).
@JerryCoffin the point being that both are considered a "user-defined conversion [sequence]" according to the standard
Oh
Overlap
@Griwes Random inane programming blog post title I just came across: "More Rust compared to C++".
I guess that can be a problem
20:06
@Cinch Not exactly--if the two overlap (e.g., the destination type has a ctor that can take the target type, and the source type has a conversion operator that can produce the target type), then the code would be ambiguous, and won't compile.
Heck I didn't even know the second case existed
So it is a problem
I need to cook me something to eat because I'm mad hungry, but for that I need to do the dishes, which I'm too hungry to get around to doing
freakin' fcuk.
Why can't they just have one take priorityw over the otherw?
@Cinch It's not really a problem in itself, but if you're not aware of it, you can pretty easily create problems.
user1804599
Alright, only two more issues to go and then I can release 0.0.2.
20:08
You gotta make done examples I want to see Mill
ITT @райтфолд talks about his project but pretty much no one knows what he is working on.
@Cinch Experience shows that unless the intent is quite clear, it's better to ask the programmer to express his intent clearly than have the compiler try to guess.
user1804599
@JerryCoffin Assuming the programmer didn't @ forget @ about one or the other
user1804599
Although check.mill is bugged right now since LOAD hasn't been implemented yet.
user1804599
20:10
Also, I accidentally amended my commit.
@Cinch Old example: PL/I would try to guess whether x = y was assignment or comparison. So, just x = y; would do assignment, and if x = y would do comparison. Unfortunately, x = y = 0; guessed that the first = was assignment, and the second was comparison.
Oh
@райтфолд wow that's interesting
No wonder they added ==
replied to wrong person..?
Nope
you find it interesting that rightfold amended his commit?
20:14
@Cinch Well, PL/I did also have := to disambiguate in favor of assignment.
I'm going to try and then observe how he did his compiler
I want to learn
@JerryCoffin Hah, R does that as well. It started with <- for assignment but then added = by popular demand. You’re left wondering why they bothered in the first place…
user1804599
oh god please no
i don't recognize any games in the list :|
20:25
@LucDanton They bothered because APL used <- for assignment (but with a special left-arrow character instead of a pair of characters available on any ordinary keyboard). The ultimate goal of nearly every other programming language is to become a dialect of APL. ;-)
@JerryCoffin hey, the creator has a Turing's award!
must be a damn good language
user1804599
@FilipRoséen-refp As always. :D
@ScarletAmaranth It was really cool in some ways. Utterly horrible in other ways though (especially, as suggested above, it used lots of special characters, so it took some time to get accustomed to it enough that you could read and understand code to even an extremely minimal degree.
@JerryCoffin it's rubbish; and twice the irony considering the name of the "paper" (or whatever it was) that came with his Turing's award - APL was the opposite of notation as a tool of thought or whatever the exact title was
@FilipRoséen-refp Sure we do--it's a programming language with dynamic typing, and...well, I lost interest right there.
@ScarletAmaranth Sorry, but I can't agree. Learning APL is painful, but once you know it, using it is actually quite nice, and it really is a convenient way to express (some types of) thoughts very quickly and unambiguously.
It is, however, much like learning a foreign (natural) language--if you quit using it for very long at all, you can remember a few of the words for things like "hello" and such, but that's about it.
20:35
@JerryCoffin being able to express "something" quickly and unambiguously doesn't necessarily disqualify a language from being rubbish in my opinion vOv
@JerryCoffin hm. I don't remember "hello", but I do remember "Tak" and some its variants ("mange tak", "tusind tak").
lol @райтфолд I didn't realize your clang-based tool is written in python
damn it :D
user1804599
Python is the only language for which a decent clang API exists.
user1804599
The C API is a C API, the C++ API is unstable and all other APIs are out of date.
MLM
MLM
Is there a better way to get over the slicing side-effects when trying to inherit a class that has pointer members? In order to convert the pointer members of the parent type to child type? coliru.stacked-crooked.com/a/d9b70ae30c8c8112
user1804599
20:39
The current program is hacked together to get a feeling of the API and the output format, though.
user1804599
I have to rewrite some parts to build a database of entities and generate pages from that instead.
user1804599
Potentially SQLite.
That's not slicing
MLM
MLM
Sorry, just general inheritance of pointer members.
That's still not that
Make your shit virtual
user1804599
20:42
One thing I am struggling with, though, is that libclang provides no way to find out which template was instantiated for as far as I know.
user1804599
And I have to make a decision about documentation w.r.t. template specialisations.
user1804599
What's nice about C++ is that you can analyse, to some extent, the difference between composition and aggregation, because ownership semantics tend to be quite clear.
user1804599
(Which is also where knowing about std::unique_ptr kicks in.)
user1804599
I also want to link built-in types and standard types and values to cppreference.com.
@MLM Use functions, because you can overload them.
MLM
MLM
20:48
@LucDanton :/ I am wanting the nice chaining effect with then->then->thenwithout the the function call then()->then()->then(). Making a close version of this testing library for C++: chaijs.com/api/bdd
Ugh rubby like dsls
@MLM You can want anything in the world.
You could in all likeliness go CRTP-style static polymorphism to implement such an EDSL (at least to some extent). In the sense that you can write almost any sort of EDSLs as long as you’re willing to metaprogram an 'interpreter' if push comes to shove. It has some fairly dire consequences though (e.g. compilation times, error messages, and high WTF-factor for your users), I can’t really recommend it.
@MLM: Not going to work like that. You need a template so that T& operator@(T&, U left) can be a free function. But @ cannot be any binary operator, -> is banned
erhm, then->do->something invoking some code associated with then, do, and something is easy enough
I'll write a sample snippet, @MLM
MLM
MLM
20:57
@FilipRoséen-refp I have one, one sec
are you allergic to parentheses
MLM
MLM
@Rapptz No, just trying to make it familiar to the Mocha/Chai syntax: chaijs.com/api/bdd
people allergic to parentheses should not be doing maths

« first day (1633 days earlier)      last day (3541 days later) »