Displaying 3 results from an estimated 3 matches for "tzu_chien_chiu".
2005 Sep 22
0
[LLVMdev] name collision - llvm::tie and boost::tie
On Thu, 22 Sep 2005, Tzu-Chien Chiu wrote:
> 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
2005 Sep 23
2
[LLVMdev] name collision - llvm::tie and boost::tie
...ort 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 explicitly nominate all boost names
you use. Except that this does not work on global scope, but only in
namespace:
namespace Tzu_Chien_Chiu
{
using namespace llvm;
using namespace boost;
using boost::tie;
void func() { // Use 'tie'. }
}
You can see "The C++ programming language", section C.10 for details.
- Volodya
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