Skip to content

Instantly share code, notes, and snippets.

View Inkln's full-sized avatar

Alexander Ivanov Inkln

View GitHub Profile
@Inkln
Inkln / bad.cpp
Last active October 7, 2019 16:21
Homework LSP
#include <iostream>
#include <type_traits>
#include <string>
#include <cstdlib>
#include <cstdio>
#include <cassert>
class Rectangle {
public:
Rectangle(uint32_t height, uint32_t width) :