next up previous contents
Next: php_stl::call_bool_vector Up: Function Reference Previous: php_ret   Contents

php_stl

#include "php_stl.h"

class php_stl : public php {
public:
  php(bool type_warnings = false);
  ~php();
  ...
};

Description: The php_stl object extends the basic php object and provides support for Standard Template Library (STL) types in addition to all the basic php functionality. The type_warnings value is optional and defaults to false If set to true the interpreter will send a string to the error function (see php::set_error_function) when it is forced to convert a value into the required type for the given STL data structure.

Errors: Any errors during initialization will result in the status flag (see php::status) being set to a nonzero value.



Andrew Bosworth 2008-03-24