libktorrent  2.1.1
Public Member Functions | List of all members
bt::Array< T > Class Template Reference

#include <array.h>

Public Member Functions

 Array (Uint32 num=0)
 
void fill (T val)
 
 operator const T * () const
 
 operator T* ()
 
T & operator[] (Uint32 i)
 
const T & operator[] (Uint32 i) const
 
Uint32 size () const
 Get the number of elements in the array.
 

Detailed Description

template<class T>
class bt::Array< T >

Author
Joris Guisson

Template array classes, makes creating dynamic buffers easier and safer.

Definition at line 54 of file array.h.

Member Function Documentation

◆ fill()

template<class T >
void bt::Array< T >::fill ( val)
inline

Fill the array with a value

Parameters
valThe value

Definition at line 101 of file array.h.


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