diff --git a/docs/source/index.rst b/docs/source/index.rst index 1b533d9f..5e45612b 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -22,7 +22,7 @@ get going: ---------- .. toctree:: - :maxdepth: 2 + :maxdepth: 1 :name: mastertoc tutorial/all-the-things diff --git a/docs/source/tutorial/tutorial-top.rst b/docs/source/tutorial/tutorial-top.rst index 6888006a..730423fd 100644 --- a/docs/source/tutorial/tutorial-top.rst +++ b/docs/source/tutorial/tutorial-top.rst @@ -1,7 +1,7 @@ tutorial ======== -Take some time to learn the framework with thse tutorials. But, if you need to get going FAST, try using the :doc:`quick 'n' dirty` approach and your browser's / editors search function. It will also serve you well to look at all the `examples`_, which have recently gotten a bit of an overhaul to contain more relevant work. +Take some time to learn the framework with thse tutorials. But, if you need to get going FAST, try using the :doc:`quick 'n' dirty` approach and your browser's / editors search function. It will also serve you well to look at all the `examples`_, which have recently gotten a bit of an overhaul to contain more relevant working examples. .. toctree:: diff --git a/single/sol/sol.hpp b/single/sol/sol.hpp index ca56fd32..32692dca 100644 --- a/single/sol/sol.hpp +++ b/single/sol/sol.hpp @@ -20,8 +20,8 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // This file was generated with a script. -// Generated 2016-08-24 13:16:37.429596 UTC -// This header was generated with sol 2.12.0 (revision 1e62e3c) +// Generated 2016-08-24 16:22:00.354090 UTC +// This header was generated with sol v2.11.7 (revision 81ffb3f) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_HPP @@ -3253,6 +3253,8 @@ namespace sol { class reference; class stack_reference; + template + struct proxy; template class usertype; template @@ -3471,6 +3473,13 @@ namespace sol { || meta::is_specialization_of>::value > { }; + template + struct is_lua_reference : std::integral_constant>::value + || std::is_base_of>::value + || meta::is_specialization_of>::value + > { }; + template struct is_lua_primitive : std::true_type {}; template @@ -9205,12 +9214,12 @@ namespace sol { return *this; } - template>> = meta::enabler> + template>>, meta::is_callable>> = meta::enabler> proxy& operator=(U&& other) { return set_function(std::forward(other)); } - template>> = meta::enabler> + template>>, meta::is_callable>> = meta::enabler> proxy& operator=(U&& other) { return set(std::forward(other)); }