-
> A couple of new comment processors if anyone is interested:
>
> ### `displayWordIf(condition)`
> You simply stick this comment around a word (or words!) and it will show or hide those words base…
-
1、能够给讲讲SharedRefObject,RefObjectImpl,RefObject的设计思想?实在是看不懂啊
2、注释中写到:
“这里构建了一个半侵入式的引用计数体系, 使用shared_ptr语意的同时,
又可以将对象放入侵入式容器, 得到极佳的性能.”
是怎么理解的呢??求指导
struct RefObject
{
atomic_t* reference_;…
-
Follow-up from discussion in #68. IMO functions decorated with `@property` should be excluded from imperative mood checking.
Given this example:
```python
@property
def quantity(self):
""…
-
Invoking the move constructor of `external_pointer` clears attributes on an external pointer object.
I would expect the third and fourth output to be identical to the second output. A possible fix …
-
Would it be possible to add the ability to create instances with something other than `std::make_shared`. Some of our objects require a custom deleter and it seems that we cannot inject the deleter wh…
-
https://deleter-d.github.io/message/
-
## Problem
Given
```cpp
return debug_utils{
.messenger_ = {
func(instance, create_info, allocator, messenger),
deleter{
instance,
allocator,
}
},
};
```
I …
-
For example:
``` python
# sample.py
def deleter(filename):
os.remove(filename)
print "Sure?", input("Y/n: ")
```
and you run it like this:
```
$ touch file.txt
$ python sample.py
Sure? Y/n: de…
-
### Which feature
hello how can i change the menu toggle ..
### Reason
we have problem with small keyboard
### Additional context
_No response_
-
`
/home/araviteja/Desktop/glow_compiler/glow/thirdparty/folly/folly/ssl/OpenSSLPtrTypes.h:33:73: error: template argument 2 is invalid
using alias##Deleter = folly::static_function_deleter; \
`
…