A lightweight, worry-free C++ input interface