Skip to Content
1
Jan 13, 2020 at 10:23 AM

C4C: How to declare a constant element in ABSL

324 Views Last edit Jan 13, 2020 at 07:17 PM 2 rev

Hi there,

I 'm just wondering how to define a constant element in absl , which is not necessary to be stored persistently. I think such kind of constant is provided by almost all languages. But I can not find in ABSL.

This question can be formulated as following too:

How to make a transient element to be only read?

Thanks