Sponsored Content
Full Discussion: The BOFH...
The Lounge What is on Your Mind? The BOFH... Post 303017643 by RudiC on Saturday 19th of May 2018 03:32:10 PM
Old 05-19-2018
That's why we decided - centuries ago - to take back "first level support" from a call centre - people were so upset with what went on there, and any reasonable question came back to ourselves stante pede.
 

We Also Found This Discussion For You

1. Shell Programming and Scripting

perl BOFH :)

Hello, This is a script that a friend of mine wrote, and I just added some things on the code, it's intended to be funny :D Please excuse me if it had been posted somewhere here, i wasn't able to find it. I'm using this as a 404 document. The code : #!/usr/local/bin/perl # BOFH exuse... (0 Replies)
Discussion started by: sysgate
0 Replies
zipios::ReferenceCount(3)				     Library Functions Manual					 zipios::ReferenceCount(3)

NAME
zipios::ReferenceCount - ReferenceCount is useful to ensure proper handling of the reference count for (objects of) classes handled through a SimpleSmartPointer. SYNOPSIS
#include <simplesmartptr.h> Public Member Functions ReferenceCount () Constructor intializes count to zero. ReferenceCount (const ReferenceCount &src) Copy-constructor intializes count to zero. const ReferenceCount & operator= (const ReferenceCount &src) The assignment operator doesn't copy the reference count, it leaves it unchanged. Friends class SimpleSmartPointer< Type > SimpleSmartPointer needs to be a friend to invoke the private ref() and unref() methods. class SimpleSmartPointer< const Type > class FileEntry Type also needs to be a friend to invoke the private ref() and unref() methods, in case Type doesn't want to inherit ReferenceCount and thus needs to invoke ref() and unref() through forwarding member functions. class Bogus Detailed Description template<class Type>class zipios::ReferenceCount< Type > ReferenceCount is useful to ensure proper handling of the reference count for (objects of) classes handled through a SimpleSmartPointer. Subclassing ReferenceCount is all a class needs to become ready for being handled by SimpleSmartPointer. Another way is to add a ReferenceCount member variable to a class and write two methods 'void ref() const' and 'unsigned int unref() const' that invoke the same methods in the ReferenceCount variable. Definition at line 99 of file simplesmartptr.h. Constructor &; Destructor Documentation template<class Type> zipios::ReferenceCount< Type >::ReferenceCount () [inline] Constructor intializes count to zero. Definition at line 122 of file simplesmartptr.h. template<class Type> zipios::ReferenceCount< Type >::ReferenceCount (const ReferenceCount< Type > &src) [inline] Copy-constructor intializes count to zero. It doesn't copy it from src. Definition at line 126 of file simplesmartptr.h. Member Function Documentation template<class Type> const ReferenceCount& zipios::ReferenceCount< Type >::operator= (const ReferenceCount< Type > &src) [inline] The assignment operator doesn't copy the reference count, it leaves it unchanged. Definition at line 130 of file simplesmartptr.h. Friends And Related Function Documentation template<class Type> friend class FileEntry [friend] Type also needs to be a friend to invoke the private ref() and unref() methods, in case Type doesn't want to inherit ReferenceCount and thus needs to invoke ref() and unref() through forwarding member functions. Definition at line 117 of file simplesmartptr.h. template<class Type> friend class SimpleSmartPointer< Type > [friend] SimpleSmartPointer needs to be a friend to invoke the private ref() and unref() methods. Definition at line 102 of file simplesmartptr.h. Author Generated automatically by Doxygen for Zipios++ from the source code. Zipios++ Mon Oct 10 2011 zipios::ReferenceCount(3)
All times are GMT -4. The time now is 11:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy