search for: bin_expr

Displaying 3 results from an estimated 3 matches for "bin_expr".

2013 Jan 10
1
[LLVMdev] Using C++'11 language features in LLVM itself
...n't always mean that human do it easily when reading the code. I'd argue that auto should only be used in cases where the precise type being used isn't something the human reader actually reads anyway. I've ended up with the habit of not registering the, say, std::vector<tree<bin_expr<float,true,true,false> > >::iterator in for(std::vector<tree<bin_expr<float,true,true,false> > >::iterator it = worklist.begin(); it != worklist.end(); ++it) In cases like this auto increases readability by decreasing the amount of "pattern discarding" I ha...
2013 Jan 10
0
[LLVMdev] Using C++'11 language features in LLVM itself
09.01.2013, 04:11, "Chris Lattner" <clattner at apple.com>: > It's seems like a quiet and peaceful day, lets stir things up a bit :) > > How crazy would it be for us to start using basic C++'11 language features (but not C++'11 library features) in LLVM: > things like auto It can make code less readable because of missing types. When compiler can deduce
2013 Jan 08
15
[LLVMdev] Using C++'11 language features in LLVM itself
It's seems like a quiet and peaceful day, lets stir things up a bit :) How crazy would it be for us to start using basic C++'11 language features (but not C++'11 library features) in LLVM: things like auto, rvalue-refs, lambdas, etc? I think that we can keep things well defined with a few simple requirements: language features must be supported by MSVC 2010 and later, some version of