> If this is allowed depends on the type of `pointer`: > > if (pointer) { > > } > > If pointer is bare pointer, it is not allowed, if it is int, it is not > allowed, > if it is smart pointer or other class, it is allowed. => allowed or not it is bad style: the test in the if construct is a boolean! Regards Francis Dupont <fdupont at isc.org>