Added directives example inspired by cpp-netlib