The same overloaded operator allows you to construct objects of class A, B, and C in shared memory.
同一个重载的操作符让您可以在共享内存中构造类A、B和C 的对象。
Short answer: no, at least not in C. You can construct such constructs in other languages and in theory even c.
简单回答:没有,至少在C语言里是没有的,你可以,在C语言或其他语言中创建这样一个结构体。
Languages such as C# have added the "using" construct, which helps the latter two problems, but again for nontrivial cases it is complex and error prone.
诸如 C#等语言添加了“using”构造,它有助于解决后面两个问题,但对于特殊情况,它也会很复杂且容易出错。
By using multiple -c arguments, you can construct an ordered set of steps, as all commands are executed left to right.
通过使用多个- c参数,您可以构造一组有序的步骤,所有命令将按从左到右的顺序执行。
The three "C"s of ROC - construct, compose, constrain are applied in that order.
ROC的三C——construct,compose,constrain是按照先后顺序加进来的。
A newsgroup poster going by bog1978 suggests using C#’s lambda support to create your own Using-like construct.
新闻组的发帖人bog1978建议使用C# lambda以支持创建类似Using的结构。
C + + : How to construct object with two iterators?
如何构建对象有两个迭代器吗?
Here, too, gets a little ugly and this is why I tend not to like this construct, at least in c, but sometimes it's necessary or it's the simplest way to achieve this goal.
这里也有点难看的,这也是为什么我,不太喜欢这个结构,至少在C语言中,但是有时它是必须的,或者它是达到目标最简单的方法。
Here, too, gets a little ugly and this is why I tend not to like this construct, at least in c, but sometimes it's necessary or it's the simplest way to achieve this goal.
这里也有点难看的,这也是为什么我,不太喜欢这个结构,至少在C语言中,但是有时它是必须的,或者它是达到目标最简单的方法。
应用推荐