Design and implementation of HBASE-14850 project follows C++ (11/14)
standard.

Please design your client application accordingly.

Cheers

On Sun, Oct 1, 2017 at 6:25 AM, Andrzej <borucki_andr...@wp.pl> wrote:

> W dniu 30.09.2017 o 14:51, Ted Yu pisze:
>
>> bq. smart pointers, which hinders simple pointers values as arguments and
>> return values
>>
>> I don't quite get what you meant. Can you elaborate ?
>>
>
> My trial exported function:
>
> Table *soGetTable(Client *client, char *name)
> {
> //name ==> tn
>     return client->Table(*tn).get(); //<---free pointer here
> }
>
>
> pointer will be freed because is smart and soGetTable returns bad pointer.
>

Reply via email to