hdf5/c++/test
Lee Newberg d179f9d79c
BUG: DataSet assignment operator is missing (#503)
* BUG: DataSet assignment operator is missing

* Some compilers complain if the copy constructor is given explicitly
  but the assignment operator is implicitly set to default.

* Explicitly defining the assignment operator allows us to properly
  handle reference counters for shared resources.

* BUG: DataSet assignment operator is missing.

* Mimicking code of H5DataType::operator() as suggested by @bmribler.

* Added test

Description:
    Added test for DataSet::operator= that Leengit added
Platform tested:
    Linux/64 (jelly)

* Removed Author field.

* Commit clang format changes.

* Entry for Leengit's github PR #503

* Removed lines left by mistake

Co-authored-by: Binh-Minh Ribler <bmribler@hdfgroup.org>
Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
2021-05-19 15:48:20 -05:00
..
CMakeLists.txt CMake: Add an option to opt-out static libgcc 2020-10-31 10:31:38 +01:00
CMakeTests.cmake Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
CMakeVFDTests.cmake Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
dsets.cpp BUG: DataSet assignment operator is missing (#503) 2021-05-19 15:48:20 -05:00
h5cpputil.cpp Update clang config (#473) 2021-03-17 10:25:39 -05:00
h5cpputil.h Various clang tidy warning fixes (#448) 2021-03-10 12:41:34 -06:00
H5srcdir_str.h.in Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
Makefile.am Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
tarray.cpp Removed checks/workarounds for pre-C++89 compatibility (#449) 2021-03-10 11:51:45 -06:00
tattr.cpp Fixed all clang-tidy bugprone-suspicious-string-compare warnings (#451) 2021-03-10 12:42:35 -06:00
tcompound.cpp Applied clang-tidy readability-delete-null-pointer fixes (#430) 2021-03-22 12:51:18 -05:00
tdspl.cpp Removed checks/workarounds for pre-C++89 compatibility (#449) 2021-03-10 11:51:45 -06:00
testhdf5.cpp Removed checks/workarounds for pre-C++89 compatibility (#449) 2021-03-10 11:51:45 -06:00
tfile.cpp Applied clang-tidy readability-delete-null-pointer fixes (#430) 2021-03-22 12:51:18 -05:00
tfilter.cpp Removed checks/workarounds for pre-C++89 compatibility (#449) 2021-03-10 11:51:45 -06:00
th5s.cpp Fixed all clang-tidy bugprone-suspicious-string-compare warnings (#451) 2021-03-10 12:42:35 -06:00
th5s.h5 [svn-r3639] 2001-03-14 21:55:33 -05:00
titerate.cpp Removed checks/workarounds for pre-C++89 compatibility (#449) 2021-03-10 11:51:45 -06:00
tlinks.cpp Fixed all clang-tidy bugprone-suspicious-string-compare warnings (#451) 2021-03-10 12:42:35 -06:00
tobject.cpp Removed checks/workarounds for pre-C++89 compatibility (#449) 2021-03-10 11:51:45 -06:00
trefer.cpp Applied clang-tidy readability-delete-null-pointer fixes (#430) 2021-03-22 12:51:18 -05:00
ttypes.cpp Ubsan fixes (#498) 2021-05-03 10:22:53 -05:00
tvlstr.cpp Applied clang-tidy readability-delete-null-pointer fixes (#430) 2021-03-22 12:51:18 -05:00