TestPermutations.cxx
Go to the documentation of this file.
1 /*===========================================================================================================
7 * Licensed under the MIT License, you may not use this file except in compliance with the License.
12 * Unless required by applicable law or agreed to in writing, software distributed under the License is
13 * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and limitations under the License.
19 *=========================================================================================================*/
40 auto permutations = Permutations<Container, Const_IT>(kEmptyCollection.begin(), kEmptyCollection.end());
47 auto permutations = Permutations<Container, Const_IT>(kUnicCollection.end(), kUnicCollection.begin());
54 auto permutations = Permutations<Container, Const_IT>(kUnicCollection.begin(), kUnicCollection.end());
63 auto permutations = Permutations<Container, Const_IT>(kSameElCollection.begin(), kSameElCollection.end());
89 for (std::list<std::string>::const_iterator it = permutations.begin(); it != permutations.end(); ++it)
Definition: combinations.hxx:28
std::list< Container > Permutations(const IT &begin, const IT &end)
Definition: permutations.hxx:44