How can I make a function that accepts, for example, a size_t but does NOT accept an int or any other implicitly convertible type?
Function that takes one explicit type
104 Views Asked by Andreas Loanjoe At
2
How can I make a function that accepts, for example, a size_t but does NOT accept an int or any other implicitly convertible type?
Use overload: