Skip to content

Instantly share code, notes, and snippets.

@danlark1
Created October 4, 2020 23:14
Embed
What would you like to do?
// Implicitly "inline"d
constexpr int foo() {
//...
}
// Implicitly "inline"d
template <class T>
int bar() {
//...
}
class Foo {
public:
// Implicitly "inline"d
int f() {
// ...
}
// Implicitly "inline"d from C++17
static constexpr std::string_view kMyBestString = "abacaba";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment