Fix imperial cylinder sizes in equipment tab

Thiago Macieira thiago at
Fri Jan 3 12:02:56 UTC 2014

On sexta-feira, 3 de janeiro de 2014 11:37:01, Dirk Hohndel wrote:
> > > Yeah, and that totally destroys the point of using "pressure_t" in the
> > > first place (it's there purely for type safety, exactly so that you
> > > can *not* use a plain integer by mistake).
> >
> > 
> >
> > Make the constructor explicit by adding the explicit keyword.
> Time for me to learn something new. What does the explicit keyword
> actually mean / do?

Exactly what Linus wants:

	struct Foo { Foo(int i); }
	void f(Foo x);

This compiles:


But if you have:
	struct Foo { explicit Foo(int i); }

It won't compile. You'll have to write the type name explicitly (hence the 
keyword name):


Thiago Macieira - thiago (AT) - thiago (AT)
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the subsurface mailing list