@@ -1981,12 +1981,18 @@ Mesh3 *GluMesh3(listMesh3 const &lst) {
1981
1981
}
1982
1982
1983
1983
template < class RR , class AA = RR, class BB = AA >
1984
- struct Op3_addmesh : public binary_function < AA, BB, RR > {
1984
+ struct Op3_addmesh {
1985
+ using first_argument_type = AA;
1986
+ using second_argument_type = BB;
1987
+ using result_type = RR;
1985
1988
static RR f (Stack s, const AA &a, const BB &b) { return RR (s, a, b); }
1986
1989
};
1987
1990
1988
1991
template < bool INIT, class RR , class AA = RR, class BB = AA >
1989
- struct Op3_setmesh : public binary_function < AA, BB, RR > {
1992
+ struct Op3_setmesh {
1993
+ using first_argument_type = AA;
1994
+ using second_argument_type = BB;
1995
+ using result_type = RR;
1990
1996
static RR f (Stack stack, const AA &a, const BB &b) {
1991
1997
ffassert (a);
1992
1998
const pmesh3 p = GluMesh3 (b);
@@ -2362,12 +2368,18 @@ MeshL *GluMesh(listMeshT<MeshL> const &lst) {
2362
2368
2363
2369
2364
2370
template < class RR , class AA = RR, class BB = AA >
2365
- struct Op3_addmeshS : public binary_function < AA, BB, RR > {
2371
+ struct Op3_addmeshS {
2372
+ using first_argument_type = AA;
2373
+ using second_argument_type = BB;
2374
+ using result_type = RR;
2366
2375
static RR f (Stack s, const AA &a, const BB &b) { return RR (s, a, b); }
2367
2376
};
2368
2377
2369
2378
template < bool INIT, class RR , class AA = RR, class BB = AA >
2370
- struct Op3_setmeshS : public binary_function < AA, BB, RR > {
2379
+ struct Op3_setmeshS {
2380
+ using first_argument_type = AA;
2381
+ using second_argument_type = BB;
2382
+ using result_type = RR;
2371
2383
static RR f (Stack stack, const AA &a, const BB &b) {
2372
2384
ffassert (a);
2373
2385
const pmeshS p = GluMesh (b);
@@ -2381,12 +2393,18 @@ struct Op3_setmeshS : public binary_function< AA, BB, RR > {
2381
2393
2382
2394
2383
2395
template < class RR , class AA = RR, class BB = AA >
2384
- struct Op3_addmeshL : public binary_function < AA, BB, RR > {
2396
+ struct Op3_addmeshL {
2397
+ using first_argument_type = AA;
2398
+ using second_argument_type = BB;
2399
+ using result_type = RR;
2385
2400
static RR f (Stack s, const AA &a, const BB &b) { return RR (s, a, b); }
2386
2401
};
2387
2402
2388
2403
template < bool INIT, class RR , class AA = RR, class BB = AA >
2389
- struct Op3_setmeshL : public binary_function < AA, BB, RR > {
2404
+ struct Op3_setmeshL {
2405
+ using first_argument_type = AA;
2406
+ using second_argument_type = BB;
2407
+ using result_type = RR;
2390
2408
static RR f (Stack stack, const AA &a, const BB &b) {
2391
2409
ffassert (a);
2392
2410
const pmeshL p = GluMesh (b);
0 commit comments