Another namespace related bug:
namespace data {
typedef boost::shared_ptr<Foo> FooPtr;
}
namespace data {
class Bar {
public:
Bar();
FooPtr a();
};
}
// cpp file:
namespace data {
Bar::Bar()
{
}
}
If you call "create implementation" for the method "a()" you expect this code inside the namespace bracket:
FooPtr Bar::a()
{
}
But you get:
data::FooPtr Bar::a()
{
}
Which works, but is odd, because the "data::" prefix isn't necessary inside of the namespace.