18 std::cout <<
"__A__()" << std::endl;
23 std::cout <<
"~__A__()" << std::endl;
35 int main(
int argc,
char **argv)
44 JParser<> zap(
"Example program to test shared pointer.");
51 catch(
const exception &error) {
52 FATAL(error.what() << endl);
63 cout <<
"JSharedPointer::create()" << endl;
69 for (
unsigned int i = 0; i != N; ++i) {
71 cout <<
"buffer.push_back() " << i << endl;
76 for (
unsigned int i = 0; i != N; ++i) {
77 cout <<
"buffer[" << i <<
"] is valid? " << buffer[i].is_valid() << endl;
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
The template JSharedPointer class can be used to share a pointer to an object.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).