Skip to content

Instantly share code, notes, and snippets.

@kalman5
Last active August 29, 2015 13:56
DoublePrinterDeleteConversion
class DoublePrinter {
public:
void print(double aDouble) {
std::cout << "Value is: " << aDouble << std::endl;
}
void print(float) = delete;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment