Cpp constructor

Would someone please explain what the "~" character means in front of a constructor definition ?

example:

// constructors
Adafruit_BME280();
Adafruit_BME280(int8_t cspin, SPIClass *theSPI = &SPI);
Adafruit_BME280(int8_t cspin, int8_t mosipin, int8_t misopin, int8_t sckpin);
~Adafruit_BME280(void);

destructor

1 Like

Thanks

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.