#include <iostream>
class Example {
private:
int m_A;
public:
Example(int a) : m_A(a) {}
int getA() const {
return m_A;
}
};
void Print(const Example& ex) { // Constrct Example with 98
std::cout << ex.getA() << "\n";
}
int main() {
Print(98); // Implicit Conversion
}
/*
run:
98
*/