diff --git a/README.md b/README.md index b8db397..8ea56a0 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ Bringing over your good old friends, the STL containers from c++ to angelscript. Currently these container types are supported: * vector * list + * deque * set * unordered_set * map diff --git a/documentation/doc_extra_input/mainpage.dox b/documentation/doc_extra_input/mainpage.dox index 73e21f6..44aae9e 100644 --- a/documentation/doc_extra_input/mainpage.dox +++ b/documentation/doc_extra_input/mainpage.dox @@ -4,6 +4,7 @@

These container types are provided:

- vector - list +- deque - set - unordered_set - map @@ -27,6 +28,4 @@ - \subpage page_manual_requirements - \subpage page_manual_installation - \subpage page_manual_usage -

The actual doxygen class list on the left probably isn't very useful because it only tells you about the c++ implementation, which is an abomination made up of templates of templates of stl templates. If you are looking for the script interface, you can find it here \ref page_manual_usage_script_interface

- */ \ No newline at end of file diff --git a/documentation/doc_extra_input/page_manual_usage_registration_tempspec.dox b/documentation/doc_extra_input/page_manual_usage_registration_tempspec.dox index 35d9522..5972262 100644 --- a/documentation/doc_extra_input/page_manual_usage_registration_tempspec.dox +++ b/documentation/doc_extra_input/page_manual_usage_registration_tempspec.dox @@ -3,6 +3,7 @@

You can only register template specializations for these containers:

- vector - list +- deque - set - unordered_set

map and unordered_map are not available because they take 2 template parameters and that would require partial template specialization which angelscript probably doesnt support.

@@ -15,11 +16,14 @@ - list - operator equals - operator less +- deque + - operator equals + - operator less - set - operator less - unordered_set - operator equals - - meta operator hash + - pseudo-operator hash

Hash is not an operator, but a functor by name of aatc::hash::hashfunctor

See: \ref page_manual_usage_registration_hash for all your hashing needs @@ -32,6 +36,8 @@ See: \ref page_manual_usage_registration_hash for all your hashing needs aatc::container::tempspec::vector::Register(engine, "MyCppClass_name_in_script"); \endcode \n +

Warning: You should not register MyCppClass* as a tempspec. If you want to store handles, you should use a templated container instead.

+\n \par Examples

Registering a template specialization of the class "myVec3" for the containers vector and list:

\code{.cpp}