tcpflow  1.6.1
About: tcpflow is a TCP/IP packet demultiplexer that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis and debugging.
  Fossies Dox: tcpflow-1.6.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

managed_malloc< TYPE > Class Template Reference

#include <sbuf.h>

Public Member Functions

 managed_malloc (size_t bytes)
 
 ~managed_malloc ()
 

Public Attributes

TYPE * buf
 

Private Member Functions

managed_mallocoperator= (const managed_malloc &)
 
 managed_malloc (const managed_malloc &)
 
 managed_malloc ()
 

Detailed Description

template<class TYPE>
class managed_malloc< TYPE >

[], but it automatically gets freed when the object is dropped. throws std::bad_alloc if no memory.

Definition at line 184 of file sbuf.h.


The documentation for this class was generated from the following file: