Skip to content

Instantly share code, notes, and snippets.

@sebhtml
Created June 2, 2015 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebhtml/387865180daff979d8bc to your computer and use it in GitHub Desktop.
Save sebhtml/387865180daff979d8bc to your computer and use it in GitHub Desktop.
bedtools issue with g++ 4.4.7
#include <string>
namespace A
{
class B
{
public:
B();
~B();
protected:
void foo(const std::string& a, const std::string& b);
std::string m_attribute;
};
B::B()
{
foo("a1", "a2");
}
B::~B()
{
}
inline
void B::foo(const std::string& a, const std::string& b)
{
static const std::string CONSTANT = ": ";
m_attribute = a + CONSTANT + b;
}
}
int main(int argc, char**argv)
{
A::B object;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment