Skip to content

Mark methods on TableClient and TableServiceClient as const #6329

Closed
@ahsonkhan

Description

@ahsonkhan

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).

Similar to #6328

Codegen issue for context: https://github.com/Azure/autorest.cpp/issues/464

cc @LarryOsterman, @RickWinter

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions