search for: somethingyoucareabout

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

2005 Sep 22
0
[LLVMdev] name collision - llvm::tie and boost::tie
...odify them. But my .cpp file #include them. That should be fine if they are in a namespace boost {}. > I hope I could "using namespace" boost and llvm in .cpp file, because > it's tedious to use fully-qualified identifiers in boost and llvm > namespace. Add: using boost::somethingyoucareabout; using boost::somethingelseyoucareabout; using namespace llvm; Or whatever you prefer. This way you only import the symbols you want. -Chris -- http://nondot.org/sabre/ http://llvm.org/
2005 Sep 22
3
[LLVMdev] name collision - llvm::tie and boost::tie
On 22/09/05, Bill Wendling <isanbard at gmail.com> wrote: > Couldn't you state the explicit namespaces. So not using "using > namespace llvm" and instead prefix all calls with "llvm::"? The header files in boost do not use fully-qualified tie(). I probably should not modify them. But my .cpp file #include them. I hope I could "using namespace" boost
2005 Sep 23
2
[LLVMdev] name collision - llvm::tie and boost::tie
...t; > That should be fine if they are in a namespace boost {}. > > > I hope I could "using namespace" boost and llvm in .cpp file, because > > it's tedious to use fully-qualified identifiers in boost and llvm > > namespace. > > Add: > > using boost::somethingyoucareabout; > using boost::somethingelseyoucareabout; > using namespace llvm; > > Or whatever you prefer. This way you only import the symbols you want. In fact, I believe that using namespace llvm; using namespace boost; using boost::tie; should resove the problem witout needed to ex...