- meshlink::mesh *mesh = meshlink::open<meshlink::mesh>("basicpp_conf", "foo", "basicpp");
- if(!mesh) {
- cerr << "Could not initialize configuration for foo\n";
- return 1;
- }
+ meshlink::mesh mesh;
+ mesh.open("basicpp_conf", "foo", "basicpp", DEV_CLASS_BACKBONE);