mirror of
https://github.com/xfarrow/lasd.git
synced 2025-06-05 21:49:14 +02:00
Library 5
fixed compile issues
This commit is contained in:
6
librerie/exercise5/matrix/matrix.hpp
Normal file → Executable file
6
librerie/exercise5/matrix/matrix.hpp
Normal file → Executable file
@ -47,13 +47,13 @@ public:
|
||||
|
||||
// Specific member functions
|
||||
|
||||
ulong RowNumber() noexcept; // (concrete function should not throw exceptions)
|
||||
ulong ColumnNumber() noexcept; // (concrete function should not throw exceptions)
|
||||
ulong RowNumber() const noexcept; // (concrete function should not throw exceptions)
|
||||
ulong ColumnNumber() const noexcept; // (concrete function should not throw exceptions)
|
||||
|
||||
virtual void RowResize(const ulong&) = 0;
|
||||
virtual void ColumnResize(const ulong&) = 0;
|
||||
|
||||
virtual bool ExistsCell(const ulong&, const ulong&) noexcept = 0; // (concrete function should not throw exceptions)
|
||||
virtual bool ExistsCell(const ulong&, const ulong&) const noexcept = 0; // (concrete function should not throw exceptions)
|
||||
|
||||
virtual Data& operator()(const ulong&, const ulong&) = 0; // Mutable access to the element (concrete function should throw exceptions only when out of range)
|
||||
virtual const Data& operator()(const ulong&, const ulong&) const = 0; // Immutable access to the element (concrete function should throw exceptions when not present)
|
||||
|
Reference in New Issue
Block a user