deadlocklogic
deadlocklogic
This is already mentioned: `Support for member specialization: members of a template can be specialized separately, this is not supported.` But is it a limitation from `clang` or `missing` for...
I have a custom `optional` class `optional_ref`. I want the `std::string` & co™️ to be pushed as `sol::string`, I tried using a specialization with `std::enable_if` but the complier gives duplicate...
Hello consider this example: ```C++ void toUTF16(const std::string& f, std::reference_wrapper t) { // Implementation } int main() { sol::state lua; lua.open_libraries(sol::lib::base, sol::lib::math, sol::lib::bit32, sol::lib::package, sol::lib::io, sol::lib::string, sol::lib::table); lua.new_usertype("UTF16String"); lua["toUTF16"] =...
In this specialization: ```C++ template struct unique_usertype_traits { typedef T type; typedef T actual_type; static const bool value = false; static bool is_null(const actual_type&) {...} static type* get (const actual_type&)...
Tested with the live sandbox (version 3.0.0): ```java package org.jsweet; import static def.dom.Globals.*; /** * This is a very simple example that just shows an alert. */ public class HelloWorld...
**Tested with the live sandbox (version 3.0.0):** ```java package org.jsweet; import static def.dom.Globals.*; public class HelloWorld { static class Class1 { int val = 1; } static class Class2 extends...
* cppast version: latest one * parser: `libclang_parser` * clang version: 13.0.0 Explanation of the error. Input: ```cpp template class Test { public: Test(const Test&) = delete; }; ``` The...
Hi, why not considering a customization for `std::reference_wrapper` and `std::optional`? Is there a mechanism to pass `std::vector` as reference and avoid copies? **Edit**: I should use `v8::External`. But still why...
Suppose the following: ```C++ struct Test { }; ``` I want to be able to bind a custom external function as a method like so: ```C++ void func(Test& self) {...
* cppast version: latest * parser: `libclang_parser` * clang version: 15.0.7 Explanation of the error: Consider parsing: https://github.com/foonathan/cppast/blob/f00df6675d87c6983033d270728c57a55cd3db22/include/cppast/code_generator.hpp#L30-L32 Input: ```cpp std::string _cppastRootPath = CPPAST_SOURCE_DIR + std::string("/"); std::string _cppastBuildPath = CMAKE_BINARY_DIR...