some python-style syntactic sugar for C++11