You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since this SDK hasn't shipped yet, we can safely make this update and adhere to the C++ guidelines.
SDK Clients are designed to be immutable as per the guidelines, so it should be safe to mark them as const so that a user referencing client instances as const& will be able to call any of the marked methods.
DO ensure that all service client classes thread safe (usually by making them immutable and stateless).
Since this SDK hasn't shipped yet, we can safely make this update and adhere to the C++ guidelines.
SDK Clients are designed to be immutable as per the guidelines, so it should be safe to mark them as
const
so that a user referencing client instances asconst&
will be able to call any of the marked methods.Similar to #6328
Codegen issue for context: https://github.com/Azure/autorest.cpp/issues/464
cc @LarryOsterman, @RickWinter
The text was updated successfully, but these errors were encountered: