На этот вопрос есть ответы на Stack Overflow на русском : Можно ли делать возврат из блока using () {}? Voglio solo sapere se è sicuro / un buon approccio chiamare returnall'interno di un usingblocco. Per es. using(var scope = new TransactionScope()) { // my core logic return true; // …
class C { using namespace std; // error }; namespace N { using namespace std; // ok } int main () { using namespace std; // ok } Modifica : vuoi conoscere la motivazione dietro di esso.
We use cookies and other tracking technologies to improve your browsing experience on our website,
to show you personalized content and targeted ads, to analyze our website traffic,
and to understand where our visitors are coming from.
By continuing, you consent to our use of cookies and other tracking technologies and
affirm you're at least 16 years old or have consent from a parent or guardian.