forked from boostorg/ptr_container
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix regression reported in boostorg#23 (boostorg#24)
* Add test from issue 23. Refs boostorg#23. * Fix ptr_vector regression with incomplete types. Refs boostorg#23. * Enable CI for feature branches
- Loading branch information
Showing
3 changed files
with
39 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Use, modification and distribution is subject to the | ||
// Boost Software License, Version 1.0. | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
|
||
#include <boost/ptr_container/ptr_vector.hpp> | ||
|
||
template<class T> struct Foo | ||
{ | ||
static void test(boost::ptr_vector<Foo<T> >& /*t*/) | ||
{ | ||
} | ||
}; | ||
|
||
int main() | ||
{ | ||
boost::ptr_vector<Foo<double> > ptr; | ||
return 0; | ||
} |