X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=shared.h;h=3d90c8d9394c82ef51a4f65d73e6cda0e2c8ac40;hb=cd28e9c7489bae20e3abf67331efd1cab45d83df;hp=b17e6f066d72506f964a420fa9fc0afd4215fd9c;hpb=d922ad61d35e9a6996730bec24b16f8bf7bc426c;p=folded-ctf.git diff --git a/shared.h b/shared.h index b17e6f0..3d90c8d 100644 --- a/shared.h +++ b/shared.h @@ -12,15 +12,20 @@ // You should have received a copy of the GNU General Public License // // along with this program. If not, see . // // // -// Written by Francois Fleuret, (C) IDIAP // +// Written by Francois Fleuret // +// (C) Idiap Research Institute // +// // // Contact for comments & bug reports // /////////////////////////////////////////////////////////////////////////// -// A tiny class to implement shared objects and lazy deletion +/* + + A tiny class to implement shared objects and lazy deletion. When you + create a reference to such an object, call grab(), and when you + destroy that reference, call release() which will delete it if no + reference remains. Never delete it yourself! -// When you create a reference to such an object, call grab(), and -// when you destroy that reference, call release() which will delete -// it if no reference remains. Never delete it yourself! + */ #ifndef SHARED_H #define SHARED_H