[LLVMdev] name collision - llvm::tie and boost::tie

Bill Wendling isanbard at gmail.com
Thu Sep 22 07:57:57 PDT 2005


On 9/22/05, Tzu-Chien Chiu <tzuchien.chiu at gmail.com> wrote:
> The BGL (Boost Graph Library) defines tie(), which is exactly what the
> tie() defined in STLExtras.h.
>
> The header files of GBL use boost::tie(), and other boost libraries
> use boost::tie() too.
>
> How to resolve the ambiguity for compiler?
>
Couldn't you state the explicit namespaces. So not using "using
namespace llvm" and instead prefix all calls with "llvm::"?

-bw




More information about the llvm-dev mailing list